SPView.ContentTypeId 属性
获取或设置视图与之关联,以便只有在此内容类型的文件夹视图才可用的内容类型的 ID。
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Property ContentTypeId As SPContentTypeId
Get
Set
用法
Dim instance As SPView
Dim value As SPContentTypeId
value = instance.ContentTypeId
instance.ContentTypeId = value
public SPContentTypeId ContentTypeId { get; set; }
属性值
类型:Microsoft.SharePoint.SPContentTypeId
SPContentTypeId 对象,该对象表示视图与之关联的内容类型的 ID。