共用方式為


SPContext.ContentTypeSetInQueryString property

取得或設定布林值,指出是否在查詢字串中設定的內容類型。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
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; }

Property value

Type: System.Boolean
true如果內容類型集中的查詢字串。否則, false。

請參閱

參照

SPContext class

SPContext members

Microsoft.SharePoint namespace