ImageList.ImageCollection.Keys Egenskap

Definition

Hämtar samlingen med nycklar som är associerade med bilderna i 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

Egenskapsvärde

A StringCollection som innehåller namnen på bilderna i ImageList.ImageCollection.

Kommentarer

Namnet på en bild motsvarar dess nyckel och en bildnyckel är inte skiftlägeskänslig.

Om ingen av bilderna som finns i ImageList.ImageCollection har nycklar Keys returnerar en tom StringCollection.

Gäller för