Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Previous Versions
.NET Framework 2.0
System.Web
SiteMapNode Class
 Title Property
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
.NET Framework Class Library
SiteMapNode.Title Property

Note: This property is new in the .NET Framework version 2.0.

Gets or sets the title of the SiteMapNode object.

Namespace: System.Web
Assembly: System.Web (in system.web.dll)

Visual Basic (Declaration)
<LocalizableAttribute(True)> _
Public Overridable Property Title As String
Visual Basic (Usage)
Dim instance As SiteMapNode
Dim value As String

value = instance.Title

instance.Title = value
C#
[LocalizableAttribute(true)] 
public virtual string Title { get; set; }
C++
[LocalizableAttribute(true)] 
public:
virtual property String^ Title {
    String^ get ();
    void set (String^ value);
}
J#
/** @property */
public String get_Title ()

/** @property */
public void set_Title (String value)
JScript
public function get Title () : String

public function set Title (value : String)

Property Value

A string that represents the title of the node. The default is String.Empty.
Exception typeCondition

InvalidOperationException

The node is read-only.

The Title property is used by navigation controls to render a label for the node, instead of using the Url property, while the Description property is used as a ToolTip element for mouse-over events.

A localized value of the Title property is returned if the EnableLocalization property is true.

TopicLocation
How to: Localize Site-Map DataBuilding ASP .NET Web Applications
How to: Localize Site-Map DataBuilding ASP .NET Web Applications
How to: Localize Site-Map DataBuilding ASP .NET Web Applications in Visual Studio
How to: Localize Site-Map DataBuilding ASP .NET Web Applications in Visual Studio

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.

.NET Framework

Supported in: 2.0
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker