共用方式為


SPFile.ETag property

取得 ETag 可識別的檔案版本。

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

Syntax

'宣告
Public ReadOnly Property ETag As String
    Get
'用途
Dim instance As SPFile
Dim value As String

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

Property value

Type: System.String
字串,包含目前 ETag 檔案。

備註

Etag 是用來識別檔案的不同版本的雜湊戳記。檔案會導致產生新 ETag 所做的變更。

請參閱

參照

SPFile class

SPFile members

Microsoft.SharePoint namespace