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.

DataServiceKeyAttribute::KeyNames Property

 

Gets the names of key attributes.

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

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

Property Value

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

String value that contains names of key attributes.

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