File.ETag 屬性
取得指定 ETag 值的值。
命名空間: Microsoft.SharePoint.Client
組件: Microsoft.SharePoint.Client.Silverlight (在 Microsoft.SharePoint.Client.Silverlight.dll 中); Microsoft.SharePoint.Client.Phone (在 Microsoft.SharePoint.Client.Phone.dll 中) Microsoft.SharePoint.Client (在 Microsoft.SharePoint.Client.dll 中)
語法
'宣告
Public ReadOnly Property ETag As String
Get
'用途
Dim instance As File
Dim value As String
value = instance.ETag
public string ETag { get; }
屬性值
類型:System.String
傳回代表 ETag 值String執行個體。
例外狀況
例外狀況 | 條件 |
---|---|
[System.IO.FileNotFoundException] | 找不到檔案。錯誤碼 ︰-2147024894。 |
[System.UnauthorizedAccessException] | 目前的使用者會有足夠的權限。錯誤碼 ︰-2147024891。 |
備註
[ETag 回應標頭] 欄位提供要求的 variant 實體索引標籤的目前值。從相同資源的其他項目與比較可能會使用實體索引標籤。