次の方法で共有


DataServiceKeyAttribute.KeyNames Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the names of the key attributes.

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

Syntax

'Declaration
Public ReadOnly Property KeyNames As ReadOnlyCollection(Of String)
public ReadOnlyCollection<string> KeyNames { get; }

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<String>
String value that contains names of key attributes.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.