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)

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.

See also

Reference

SPFile class

SPFile members

Microsoft.SharePoint namespace