SPQuery.IncludeMandatoryColumns property
取得或設定布林值,指定是否在查詢中傳回所需的計算欄位的欄位。強制資料行包括,例如owsHiddenVersion、 相依的欄位,以及必要的欄位。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Property IncludeMandatoryColumns As Boolean
Get
Set
'用途
Dim instance As SPQuery
Dim value As Boolean
value = instance.IncludeMandatoryColumns
instance.IncludeMandatoryColumns = value
public bool IncludeMandatoryColumns { get; set; }
Property value
Type: System.Boolean
會傳回true必要和相依的欄位 ;否則, false。