Condividi tramite


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)
Available in Sandboxed Solutions: No

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