SPFile.UniqueId Property
Gets the GUID that uniquely identifies the file in the content database.
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 SPFile
Dim value As Guid
value = instance.UniqueId
public Guid UniqueId { get; }
Property Value
Type: System.Guid
A GUID that identifies the file.