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

适用于