SPWeb.ToString Method

Returns the title of the Web site.

Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Overrides Function ToString As String

Dim instance As SPWeb
Dim returnValue As String

returnValue = instance.ToString()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public override string ToString()

Return Value

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

See Also

Reference

SPWeb Class

SPWeb Members

Microsoft.SharePoint Namespace