共用方式為


SPListItemCollection.QueryFieldNames property

取得查詢的欄位名稱的集合。

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

Syntax

'宣告
Public ReadOnly Property QueryFieldNames As StringCollection
    Get
'用途
Dim instance As SPListItemCollection
Dim value As StringCollection

value = instance.QueryFieldNames
public StringCollection QueryFieldNames { get; }

Property value

Type: System.Collections.Specialized.StringCollection
StringCollection物件,包含查詢的欄位名稱。

請參閱

參照

SPListItemCollection class

SPListItemCollection members

Microsoft.SharePoint namespace