SPFile.ETag Property

Gets an ETag that identifies a version of the file.

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

Syntax

'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property ETag As String
    Get
'Usage
Dim instance As SPFile
Dim value As String

value = instance.ETag
[ClientCallableAttribute]
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