共用方式為


SPPersistedObject.Id property

取得或設定與物件關聯的 GUID。

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

Syntax

'宣告
Public Property Id As Guid
    Get
    Set
'用途
Dim instance As SPPersistedObject
Dim value As Guid

value = instance.Id

instance.Id = value
public Guid Id { get; set; }

Property value

Type: System.Guid
物件的唯一識別碼。

請參閱

參照

SPPersistedObject class

SPPersistedObject members

Microsoft.SharePoint.Administration namespace