ModelBinderDictionary.Add Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a new item to the dictionary.
Overloads
Add(KeyValuePair<Type,IModelBinder>) |
Adds the specified item to the dictionary. |
Add(Type, IModelBinder) |
Adds the specified item to the dictionary. |
Add(KeyValuePair<Type,IModelBinder>)
Adds the specified item to the dictionary.
public:
virtual void Add(System::Collections::Generic::KeyValuePair<Type ^, System::Web::ModelBinding::IModelBinder ^> item);
public void Add (System.Collections.Generic.KeyValuePair<Type,System.Web.ModelBinding.IModelBinder> item);
abstract member Add : System.Collections.Generic.KeyValuePair<Type, System.Web.ModelBinding.IModelBinder> -> unit
override this.Add : System.Collections.Generic.KeyValuePair<Type, System.Web.ModelBinding.IModelBinder> -> unit
Public Sub Add (item As KeyValuePair(Of Type, IModelBinder))
Parameters
- item
- KeyValuePair<Type,IModelBinder>
The object to add to the dictionary.
Implements
Applies to
Add(Type, IModelBinder)
Adds the specified item to the dictionary.
public:
virtual void Add(Type ^ key, System::Web::ModelBinding::IModelBinder ^ value);
public void Add (Type key, System.Web.ModelBinding.IModelBinder value);
abstract member Add : Type * System.Web.ModelBinding.IModelBinder -> unit
override this.Add : Type * System.Web.ModelBinding.IModelBinder -> unit
Public Sub Add (key As Type, value As IModelBinder)
Parameters
- key
- Type
The key of the item to add.
- value
- IModelBinder
The value of the item to add.
Implements
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.
משוב
https://aka.ms/ContentUserFeedback.
בקרוב: במהלך 2024, נפתור בעיות GitHub כמנגנון המשוב לתוכן ונחליף אותו במערכת משוב חדשה. לקבלת מידע נוסף, ראה:שלח והצג משוב עבור