共用方式為


SPWeb.ToString method

傳回該網站的標題。

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

Syntax

'宣告
Public Overrides Function ToString As String
'用途
Dim instance As SPWeb
Dim returnValue As String

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

傳回值

Type: System.String
字串,包含網站的標題。

請參閱

參照

SPWeb class

SPWeb members

Microsoft.SharePoint namespace