共用方式為


WebTemplateCollection.GetByName 方法

命名空間:  Microsoft.SharePoint.Client
組件:   Microsoft.SharePoint.Client.Silverlight (在 Microsoft.SharePoint.Client.Silverlight.dll 中);  Microsoft.SharePoint.Client.Phone (在 Microsoft.SharePoint.Client.Phone.dll 中)  Microsoft.SharePoint.Client (在 Microsoft.SharePoint.Client.dll 中)

語法

'宣告
Public Function GetByName ( _
    name As String _
) As WebTemplate
'用途
Dim instance As WebTemplateCollection
Dim name As String
Dim returnValue As WebTemplate

returnValue = instance.GetByName(name)
public WebTemplate GetByName(
    string name
)

參數

傳回值

類型:Microsoft.SharePoint.Client.WebTemplate

請參閱

參照

WebTemplateCollection 類別

WebTemplateCollection 成員

Microsoft.SharePoint.Client 命名空間