SPSite.ToString 方法

Returns the name of the site collection.

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Overrides Function ToString As String
用法
Dim instance As SPSite
Dim returnValue As String

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

返回值

类型:System.String
A string that contains the name of the site collection.

另请参阅

引用

SPSite 类

SPSite 成员

Microsoft.SharePoint 命名空间