ETagAttribute.PropertyNames Property

Definition

Gets the names of properties used in the ETagAttribute.

public:
 property System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ PropertyNames { System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ get(); };
public System.Collections.ObjectModel.ReadOnlyCollection<string> PropertyNames { get; }
member this.PropertyNames : System.Collections.ObjectModel.ReadOnlyCollection<string>
Public ReadOnly Property PropertyNames As ReadOnlyCollection(Of String)

Property Value

String value containing property names.

Remarks

Parameters to the ETagAttribute constructors are the set of property names used to make up the eTag value for the type. If a type has eTags defined, the server automatically implements optimistic concurrency checks on all requests to the type. If a key property, complex type property, or navigation property is specified, an ArgumentException is thrown.

Applies to