Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)

public bool HasDesignTimeContentType { get; }

Property value

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