Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the names of properties used in the ETagAttribute.
Namespace: System.Data.Services
Assembly: Microsoft.Data.Services (in Microsoft.Data.Services.dll)
Syntax
'Declaration
Public ReadOnly Property PropertyNames As ReadOnlyCollection(Of String)
Get
'Usage
Dim instance As ETagAttribute
Dim value As ReadOnlyCollection(Of String)
value = instance.PropertyNames
public ReadOnlyCollection<string> PropertyNames { get; }
public:
property ReadOnlyCollection<String^>^ PropertyNames {
ReadOnlyCollection<String^>^ get ();
}
member PropertyNames : ReadOnlyCollection<string>
function get PropertyNames () : ReadOnlyCollection<String>
Property Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<String>
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.