ImageList.ImageCollection.RemoveByKey(String) 方法

定義

從集合中移除具有指定索引鍵的影像。

public:
 void RemoveByKey(System::String ^ key);
public void RemoveByKey (string key);
member this.RemoveByKey : string -> unit
Public Sub RemoveByKey (key As String)

參數

key
String

要從集合中移除的影像索引鍵。

備註

索引鍵比較不區分大小寫。 影像的名稱會對應至 中的 ImageList.ImageCollection 索引鍵。

適用於