DataServiceKeyAttribute.KeyNames 属性

定义

获取键属性的名称。

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

属性值

其中包含关键属性名称的字符串值。

适用于