ViewDataDictionary.Remove Metoda

Definice

Přetížení

Remove(KeyValuePair<String,Object>)

Zdroj:
ViewDataDictionary.cs
Zdroj:
ViewDataDictionary.cs
Zdroj:
ViewDataDictionary.cs

Odebere první výskyt konkrétního objektu z objektu ICollection<T>.

C#
public bool Remove (System.Collections.Generic.KeyValuePair<string,object> item);
C#
public bool Remove (System.Collections.Generic.KeyValuePair<string,object?> item);

Parametry

Návraty

Implementuje

Platí pro

ASP.NET Core 9.0 a další verze
Produkt Verze
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0

Remove(String)

Zdroj:
ViewDataDictionary.cs
Zdroj:
ViewDataDictionary.cs
Zdroj:
ViewDataDictionary.cs

Odebere prvek se zadaným klíčem z objektu IDictionary<TKey,TValue>.

C#
public bool Remove (string key);

Parametry

key
String

Návraty

Implementuje

Platí pro

ASP.NET Core 9.0 a další verze
Produkt Verze
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0