共用方式為


SPRelatedField.ListId property

取得相依於父清單子清單的識別項。

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

Syntax

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

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

Property value

Type: System.Guid
[相依] 清單中的 [ ID ] 屬性的值。

備註

ListId屬性所識別的清單中有指向由LookupList屬性] 清單中欄位的查閱欄位。

請參閱

參照

SPRelatedField class

SPRelatedField members

Microsoft.SharePoint namespace

SPFieldLookup

ID