語言

KeyValueConfigurationCollection.Remove(String) 方法

定義

從集合中移除一個 KeyValueConfigurationElement 物件。

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

參數

key
String

一個字串指定 key。

備註

如果找不到該物件,移除不會拋出例外。

適用於