共用方式為


Site.Id Property

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public ReadOnly Property Id As Guid
    Get
'Usage
Dim instance As Site
Dim value As Guid

value = instance.Id
[RemoteAttribute]
public Guid Id { get; }

Property Value

Type: System.Guid
Returns Guid.

See Also

Reference

Site Class

Site Members

Microsoft.SharePoint.Client Namespace