共用方式為


SPPersistedCustomWebTemplate.ToString method

會傳回代表目前的自訂網站範本的文化特性而異字串。

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

Syntax

'宣告
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Overrides Function ToString As String
'用途
Dim instance As SPPersistedCustomWebTemplate
Dim returnValue As String

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

傳回值

Type: System.String
文化特性而異 string,代表該範本。

請參閱

參照

SPPersistedCustomWebTemplate class

SPPersistedCustomWebTemplate members

Microsoft.SharePoint.Administration namespace