語言

StyleBase.Keys 屬性

定義

會得到 NameObjectCollectionBase.KeysCollection 一個包含該 NameObjectCollectionBase 實例所有金鑰的實例。

public:
 virtual property System::Collections::ICollection ^ Keys { System::Collections::ICollection ^ get(); };
public virtual System.Collections.ICollection Keys { get; }
member this.Keys : System.Collections.ICollection
Public Overridable ReadOnly Property Keys As ICollection

屬性值

回傳包含集合中所有鍵的 a NameObjectCollectionBase.KeysCollection 。 欲了解更多 NameObjectCollectionBase 的資訊,請參閱 Microsoft .NET Framework SDK 文件中的「NameObjectCollectionBase Class」。

適用於