共用方式為


SPRelatedField.WebId Property

Gets the identifier of the Web site where the child list is located.

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 WebId As Guid
    Get
'Usage
Dim instance As SPRelatedField
Dim value As Guid

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

Property Value

Type: System.Guid
The ID property of an SPWeb object.

See Also

Reference

SPRelatedField Class

SPRelatedField Members

Microsoft.SharePoint Namespace

ID