SPContext.LoadContentTypes property

Gets or sets a Boolean value that specifies whether to include content type fields when implementing the Fields property in order to return the fields associated with an item.

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


Public Property LoadContentTypes As Boolean
Dim instance As SPContext
Dim value As Boolean

value = instance.LoadContentTypes

instance.LoadContentTypes = value
public bool LoadContentTypes { get; set; }

Property value

Type: System.Boolean
true to include content type fields; otherwise, false.

See also


SPContext class

SPContext members

Microsoft.SharePoint namespace