Share via


EntityDescriptor.StreamETag Property

Gets the eTag for the media resource associated with an entity that is a media link entry.

Namespace:  System.Data.Services.Client
Assembly:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)

Syntax

'Declaration
Public Property StreamETag As String 
    Get 
    Friend Set
'Usage
Dim instance As EntityDescriptor 
Dim value As String 

value = instance.StreamETag
public string StreamETag { get; internal set; }
public:
property String^ StreamETag {
    String^ get ();
    internal: void set (String^ value);
}
member StreamETag : string with get, internal set
function get StreamETag () : String 
internal function set StreamETag (value : String)

Property Value

Type: System.String
A string value that indicates the state of data.

Remarks

The StreamETag property returns an eTag value that indicates the state of the Media Resource targeted for update since the last call to SaveChanges when the entity is a media link entry.

The eTag associated with the media resource is used to represent original values for use with optimistic concurrency checks according to eTag rules in HTTP RFC 2616.

The value may be empty or null. Null represents the case in which no eTag is currently associated with the Media Resource.

See Also

Reference

EntityDescriptor Class

System.Data.Services.Client Namespace