SPContext.LoadContentTypes 属性

获取或设置一个布尔值,指定是否将内容类型字段包含实现的Fields属性以返回字段时与项目关联。

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Property LoadContentTypes As Boolean
    Get
    Set
用法
Dim instance As SPContext
Dim value As Boolean

value = instance.LoadContentTypes

instance.LoadContentTypes = value
public bool LoadContentTypes { get; set; }

属性值

类型:System.Boolean
true包含内容类型字段 ;否则为false。

另请参阅

引用

SPContext 类

SPContext 成员

Microsoft.SharePoint 命名空间