File.ETag 属性

Gets a value that specifies the ETag value.

命名空间:  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
Returns a String instance representing the ETag value.

异常

异常 条件
[System.IO.FileNotFoundException]

File cannot be found. Error code: -2147024894.

[System.UnauthorizedAccessException]

The current user has insufficient permissions. Error code: -2147024891.

备注

The ETag response-header field provides the current value of the entity tag for the requested variant. The entity tag may be used for comparison with other entities from the same resource.

另请参阅

引用

File 类

File 成员

Microsoft.SharePoint.Client 命名空间