ValidationStateDictionary.Add Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
Add(KeyValuePair<Object,ValidationStateEntry>) | |
Add(Object, ValidationStateEntry) |
Add(KeyValuePair<Object,ValidationStateEntry>)
- Source:
- ValidationStateDictionary.cs
- Source:
- ValidationStateDictionary.cs
- Source:
- ValidationStateDictionary.cs
Agrega un elemento a ICollection<T>.
public:
virtual void Add(System::Collections::Generic::KeyValuePair<System::Object ^, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationStateEntry ^> item);
public void Add (System.Collections.Generic.KeyValuePair<object,Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry> item);
abstract member Add : System.Collections.Generic.KeyValuePair<obj, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry> -> unit
override this.Add : System.Collections.Generic.KeyValuePair<obj, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry> -> unit
Public Sub Add (item As KeyValuePair(Of Object, ValidationStateEntry))
Parámetros
Implementaciones
Se aplica a
Add(Object, ValidationStateEntry)
- Source:
- ValidationStateDictionary.cs
- Source:
- ValidationStateDictionary.cs
- Source:
- ValidationStateDictionary.cs
Agrega un elemento con la clave y el valor proporcionados a IDictionary<TKey,TValue>.
public:
virtual void Add(System::Object ^ key, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationStateEntry ^ value);
public void Add (object key, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry value);
abstract member Add : obj * Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry -> unit
override this.Add : obj * Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry -> unit
Public Sub Add (key As Object, value As ValidationStateEntry)
Parámetros
- key
- Object
- value
- ValidationStateEntry