Web.ListTemplates 屬性
取得值,指定可用於在網站上建立清單的清單定義及清單範本集合。
命名空間: 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 ReadOnly Property ListTemplates As ListTemplateCollection
Get
'用途
Dim instance As Web
Dim value As ListTemplateCollection
value = instance.ListTemplates
public ListTemplateCollection ListTemplates { get; }
屬性值
類型:Microsoft.SharePoint.Client.ListTemplateCollection
傳回代表清單定義和清單範本可用的網站上建立清單的集合ListTemplateCollection執行個體。
備註
傳回只有清單範本所建立的使用者使用Site類別GetCustomListTemplates方法。