共用方式為


SPQuery.ItemIdQuery property

取得或設定布林值,指定查詢選擇性根據清單項目 id。

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

Syntax

'宣告
Public Property ItemIdQuery As Boolean
    Get
    Set
'用途
Dim instance As SPQuery
Dim value As Boolean

value = instance.ItemIdQuery

instance.ItemIdQuery = value
public bool ItemIdQuery { get; set; }

Property value

Type: System.Boolean
若要指定查詢根據清單項目 ID ; true否則, false。

請參閱

參照

SPQuery class

SPQuery members

Microsoft.SharePoint namespace