Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ETagAttribute::PropertyNames Property

 

Gets the names of properties used in the ETagAttribute.

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

public:
property ReadOnlyCollection<String^>^ PropertyNames {
	ReadOnlyCollection<String^>^ get();
}

Property Value

Type: System.Collections.ObjectModel::ReadOnlyCollection<String^>^

String value containing property names.

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.

.NET Framework
Available since 3.5
Return to top
Show:
© 2017 Microsoft