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)

Syntax

'Declaration
Public Property LoadContentTypes As Boolean
    Get
    Set
'Usage
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

Reference

SPContext class

SPContext members

Microsoft.SharePoint namespace