Partilhar via


SPFolder.UniqueId Property

Gets the unique ID of the folder.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property UniqueId As Guid
    Get
'Usage
Dim instance As SPFolder
Dim value As Guid

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

Property Value

Type: System.Guid
A System.Guid that identifies the folder in the form: "rid:{00000000-0000-0000-0000-000000000000}".

See Also

Reference

SPFolder Class

SPFolder Members

Microsoft.SharePoint Namespace