共用方式為


GroupCollection.Keys 屬性

定義

取得字串列舉,其中包含群組集合的名稱索引鍵。

public:
 property System::Collections::Generic::IEnumerable<System::String ^> ^ Keys { System::Collections::Generic::IEnumerable<System::String ^> ^ get(); };
public System.Collections.Generic.IEnumerable<string> Keys { get; }
member this.Keys : seq<string>
Public ReadOnly Property Keys As IEnumerable(Of String)

屬性值

IEnumerable<String>

群組集合的名稱索引鍵。

實作

備註

未指定可列舉集合中的索引鍵順序,但實作必須保證索引鍵的順序與 屬性所 Values 傳回之可列舉集合中的對應值相同。

適用於