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的 。

适用于