SPWeb.AvailableContentTypes 属性
Gets the collection of all content type templates that apply to the current scope, including those of the current website, as well as any parent websites.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public ReadOnly Property AvailableContentTypes As SPContentTypeCollection
Get
用法
Dim instance As SPWeb
Dim value As SPContentTypeCollection
value = instance.AvailableContentTypes
public SPContentTypeCollection AvailableContentTypes { get; }
属性值
类型:Microsoft.SharePoint.SPContentTypeCollection
An SPContentTypeCollection object that represents the content types.
备注
Use the ContentTypes property to return only the content types of the current website.