共用方式為


SPRelatedField.FieldId Property

Gets the identifier of the lookup field in the child list.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property FieldId As Guid
    Get
'Usage
Dim instance As SPRelatedField
Dim value As Guid

value = instance.FieldId
[ClientCallableAttribute]
public Guid FieldId { get; }

Property Value

Type: System.Guid
The value of the Id property of an SPField object.

See Also

Reference

SPRelatedField Class

SPRelatedField Members

Microsoft.SharePoint Namespace

LookupField

Id