Share via


ExpandoObject.IDictionary<String,Object>.Remove(String) Yöntem

Tanım

belirtilen anahtarı içeren öğesini öğesinden IDictionarykaldırır.

 virtual bool System.Collections.Generic.IDictionary<System.String,System.Object>.Remove(System::String ^ key) = System::Collections::Generic::IDictionary<System::String ^, System::Object ^>::Remove;
bool IDictionary<string,object>.Remove (string key);
abstract member System.Collections.Generic.IDictionary<System.String,System.Object>.Remove : string -> bool
override this.System.Collections.Generic.IDictionary<System.String,System.Object>.Remove : string -> bool
Function Remove (key As String) As Boolean Implements IDictionary(Of String, Object).Remove

Parametreler

key
String

Kaldırılacak öğenin anahtarı.

Döndürülenler

Öğe başarılı şekilde kaldırılırsa true; kaldırılmazsa, false. Bu yöntem, özgün IDictionary<TKey,TValue>içinde bulunamazsa key da döndürürfalse.

Uygulamalar

Şunlara uygulanır