Поделиться через


Свойство 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