SPContext.ContentTypeSetInQueryString property

Gets or sets a Boolean value that indicates whether the content type is set in the query string.

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

Syntax

'Declaration
Public Property ContentTypeSetInQueryString As Boolean
    Get
    Set
'Usage
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 if the content type is set in the query string; otherwise, false.

See also

Reference

SPContext class

SPContext members

Microsoft.SharePoint namespace