This topic has not yet been rated - Rate this topic

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.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.