共用方式為


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)

屬性值

包含索引鍵屬性名稱的字串值。

適用於