SPContext.Fields property
取得與項目或Microsoft SharePoint Foundation內容的內容類型相關聯的欄位中繼資料。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Property Fields As SPFieldCollection
Get
'用途
Dim instance As SPContext
Dim value As SPFieldCollection
value = instance.Fields
public SPFieldCollection Fields { get; }
Property value
Type: Microsoft.SharePoint.SPFieldCollection
表示欄位的SPFieldCollection物件。
備註
Fields屬性可以用來提供關於SharePoint Foundation內容的SPItem物件的中繼資料。