ValidationStateDictionary.Add メソッド

定義

オーバーロード

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

Add(KeyValuePair<Object,ValidationStateEntry>)

ソース:
ValidationStateDictionary.cs
ソース:
ValidationStateDictionary.cs
ソース:
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)

ソース:
ValidationStateDictionary.cs
ソース:
ValidationStateDictionary.cs
ソース:
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

実装

適用対象