将可枚举数组转换为
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public ReadOnly Property ContentTypes As SPContentTypeCollection
Get
用法
Dim instance As SPList
Dim value As SPContentTypeCollection
value = instance.ContentTypes
public SPContentTypeCollection ContentTypes { get; }
属性值
类型:Microsoft.SharePoint.SPContentTypeCollection
包含与列表关联的内容类型SPContentTypeCollection集合。