SiteMapNode.ReadOnly Property
.NET Framework 2.0
Note: This property is new in the .NET Framework version 2.0.
Gets or sets a value indicating whether the site map node can be modified.
Namespace: System.Web
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
A SiteMapNode object is modifiable by default.
Note |
|---|
| All nodes that are returned by the XmlSiteMapProvider are read-only, by default. |
The Attributes, ChildNodes, Description, ParentNode, Roles, Title, and Url property mutators check the 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 SiteMapNode object throws an InvalidOperationException exception.
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Community Additions
ADD
Show:
Note