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)
Available in Sandboxed Solutions: No
Available in SharePoint Online

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