共用方式為


SPFolder.UniqueId property

取得資料夾的唯一 ID。

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

Syntax

'宣告
Public ReadOnly Property UniqueId As Guid
    Get
'用途
Dim instance As SPFolder
Dim value As Guid

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

Property value

Type: System.Guid
System.Guid用來識別表單中的資料夾:"rid: {00000000-0000-0000-0000-000000000000}"。

請參閱

參照

SPFolder class

SPFolder members

Microsoft.SharePoint namespace