ViewDataDictionary.Remove Method

Definition

Overloads

Remove(KeyValuePair<String,Object>)
Remove(String)

Remove(KeyValuePair<String,Object>)

Source:
ViewDataDictionary.cs
Source:
ViewDataDictionary.cs

Removes the first occurrence of a specific object from the ICollection<T>.

public:
 virtual bool Remove(System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> item);
public bool Remove (System.Collections.Generic.KeyValuePair<string,object> item);
public bool Remove (System.Collections.Generic.KeyValuePair<string,object?> item);
abstract member Remove : System.Collections.Generic.KeyValuePair<string, obj> -> bool
override this.Remove : System.Collections.Generic.KeyValuePair<string, obj> -> bool
Public Function Remove (item As KeyValuePair(Of String, Object)) As Boolean

Parameters

Returns

Implements

Applies to

Remove(String)

Source:
ViewDataDictionary.cs
Source:
ViewDataDictionary.cs

Removes the element with the specified key from the IDictionary<TKey,TValue>.

public:
 virtual bool Remove(System::String ^ key);
public bool Remove (string key);
abstract member Remove : string -> bool
override this.Remove : string -> bool
Public Function Remove (key As String) As Boolean

Parameters

key
String

Returns

Implements

Applies to