SPContext.ContentTypeSetInQueryString 属性

获取或设置一个布尔值,该值指示是否在查询字符串中设置的内容类型。

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

语法

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

value = instance.ContentTypeSetInQueryString

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

属性值

类型:System.Boolean
true如果在查询字符串中 ; 设置内容类型否则为false。

另请参阅

引用

SPContext 类

SPContext 成员

Microsoft.SharePoint 命名空间