SPContext.HasDesignTimeContentType property

Gets a Boolean value that indicates whether the list item in the current context is associated with a design-time content type.

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

Syntax

'Declaration
Public ReadOnly Property HasDesignTimeContentType As Boolean
    Get
'Usage
Dim instance As SPContext
Dim value As Boolean

value = instance.HasDesignTimeContentType
public bool HasDesignTimeContentType { get; }

Property value

Type: System.Boolean
true if the item is associated with a design-time content type; otherwise false.

See also

Reference

SPContext class

SPContext members

Microsoft.SharePoint namespace