SPQuery.IncludeMandatoryColumns property

Gets or sets a Boolean value that specifies whether fields that are required for calculated fields are returned in the query. Mandatory columns include, for example, owsHiddenVersion, dependent fields, and required fields.

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

public bool IncludeMandatoryColumns { get; set; }

Property value

Type: System.Boolean
true if required and dependent fields are returned; otherwise, false.