共用方式為


SPSite.ToString method

傳回的網站集合的名稱。

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

Syntax

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

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

傳回值

Type: System.String
字串,包含網站集合的名稱。

請參閱

參照

SPSite class

SPSite members

Microsoft.SharePoint namespace