Share via


SPFile.ETag property

Gets an ETag that identifies a version of the file.

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

Syntax

'Declaration
Public ReadOnly Property ETag As String
    Get
'Usage
Dim instance As SPFile
Dim value As String

value = instance.ETag
public string ETag { get; }

Property value

Type: System.String
A string that contains the current ETag for the file.

Remarks

ETags are hash stamps used to identify different versions of a file. Changes made to a file result in a new ETag being generated.

See also

Reference

SPFile class

SPFile members

Microsoft.SharePoint namespace