DataServiceKeyAttribute.KeyNames 属性     
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取键属性的名称。
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)属性值
其中包含关键属性名称的字符串值。