Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SPDataSource.IncludeHidden property

Gets or sets a System.Boolean value that specifies whether hidden fields are included in the query.

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

public bool IncludeHidden { get; set; }

Property value

Type: System.Boolean
true if hidden fields are included in the query; otherwise, false. The default value is false.

The value of this property only affects the query if the ViewFields Element (List) tag in the CAML query of the SelectCommand property is not specified—in other words, if the query requests all the fields in the list. If ViewFields tag is specified, the value of this property is ignored.

© 2015 Microsoft