SiteMapNode::ToString Method ()

 

Converts the value of this instance of the SiteMapNode class to its equivalent string representation.

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

public:
virtual String^ ToString() override

Return Value

Type: System::String^

The string representation of the value of this SiteMapNode.

The ToString method returns the Title property of a SiteMapNode object.

The following code example demonstrates how to compare the ToString method to the Url and Title properties of a SiteMapNode object.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: