共用方式為


SPRelatedField.FieldId property

取得子清單中的 [查詢] 欄位的識別項。

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

Syntax

'宣告
Public ReadOnly Property FieldId As Guid
    Get
'用途
Dim instance As SPRelatedField
Dim value As Guid

value = instance.FieldId
public Guid FieldId { get; }

Property value

Type: System.Guid
SPField 物件的 [ Id ] 屬性的值。

請參閱

參照

SPRelatedField class

SPRelatedField members

Microsoft.SharePoint namespace

LookupField

Id