System.Web.SiteMapNode.ReadOnly Property

Gets or sets a value indicating whether the site map node can be modified.

Syntax

public bool ReadOnly { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

A System.Web.SiteMapNode object is modifiable by default.

Note:

All nodes that are returned by the System.Web.XmlSiteMapProvider are read-only, by default.

The SiteMapNode.Attributes, SiteMapNode.ChildNodes, SiteMapNode.Description, SiteMapNode.ParentNode, SiteMapNode.Roles, SiteMapNode.Title, and SiteMapNode.Url property mutators check the SiteMapNode.ReadOnly property before attempting to modify the property of a site map node. If the node is read-only when a mutator is called, the System.Web.SiteMapNode object throws an InvalidOperationException exception.

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0