SPWeb.ToString Method

Returns the title of the website.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Overrides Function ToString As String
'Usage
Dim instance As SPWeb
Dim returnValue As String

returnValue = instance.ToString()
public override string ToString()

Return Value

Type: System.String
A string that contains the title of the website.

See Also

Reference

SPWeb Class

SPWeb Members

Microsoft.SharePoint Namespace