다음을 통해 공유


ValidationStateDictionary.Add 메서드

정의

오버로드

Add(KeyValuePair<Object,ValidationStateEntry>)
Add(Object, ValidationStateEntry)

Add(KeyValuePair<Object,ValidationStateEntry>)

Source:
ValidationStateDictionary.cs
Source:
ValidationStateDictionary.cs
Source:
ValidationStateDictionary.cs

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))

매개 변수

구현

적용 대상

Add(Object, ValidationStateEntry)

Source:
ValidationStateDictionary.cs
Source:
ValidationStateDictionary.cs
Source:
ValidationStateDictionary.cs

제공된 키와 값을 가진 요소를 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)

매개 변수

key
Object

구현

적용 대상