Compartilhar via


SPRelatedField.ListId Property

Gets the identifier of the child list that is dependent on the parent 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 ListId As Guid
    Get
'Usage
Dim instance As SPRelatedField
Dim value As Guid

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

Property Value

Type: System.Guid
The value of the ID property of the dependent list.

Remarks

The list that is identified by the ListId property has lookup fields that point to fields in the list represented by the LookupList property.

See Also

Reference

SPRelatedField Class

SPRelatedField Members

Microsoft.SharePoint Namespace

SPFieldLookup

ID