Share via


ImageList.ImageCollection.Keys 屬性

定義

取得與 ImageList.ImageCollection 中影像關聯的索引鍵集合。

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

屬性值

StringCollection,包含 ImageList.ImageCollection 中的影像名稱。

備註

影像的名稱會對應至其索引鍵,而且影像索引鍵不區分大小寫。

如果 中 ImageList.ImageCollection 未包含任何影像具有索引鍵, Keys 則傳回空 StringCollection 的 。

適用於