ViewDataDictionary.Remove Metoda
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
- Zdroj:
- ViewDataDictionary.cs
- Zdroj:
- ViewDataDictionary.cs
- Zdroj:
- ViewDataDictionary.cs
Odebere první výskyt konkrétního objektu z objektu ICollection<T>.
public:
virtual bool Remove(System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> item);
C#
public bool Remove (System.Collections.Generic.KeyValuePair<string,object> item);
C#
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
Parametry
- item
- KeyValuePair<String,Object>
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 |
- Zdroj:
- ViewDataDictionary.cs
- Zdroj:
- ViewDataDictionary.cs
- Zdroj:
- ViewDataDictionary.cs
Odebere prvek se zadaným klíčem z objektu IDictionary<TKey,TValue>.
public:
virtual bool Remove(System::String ^ key);
C#
public bool Remove (string key);
abstract member Remove : string -> bool
override this.Remove : string -> bool
Public Function Remove (key As String) As Boolean
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 |