ExpandoObject.IDictionary<String,Object>.Remove(String) 方法

定義

IDictionary 移除具有所指定索引鍵的項目。

 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

參數

key
String

要移除的項目索引鍵。

傳回

如果成功移除項目,則為 true,否則為 false。 如果在原始的 false 中找不到 key,則這個方法也會傳回 IDictionary<TKey,TValue>

實作

適用於