DictionaryModelBinder<TKey,TValue> クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ブラウザー要求をディクショナリ データ オブジェクトにマップします。
generic <typename TKey, typename TValue>
public ref class DictionaryModelBinder : System::Web::ModelBinding::CollectionModelBinder<System::Collections::Generic::KeyValuePair<TKey, TValue>>
public class DictionaryModelBinder<TKey,TValue> : System.Web.ModelBinding.CollectionModelBinder<System.Collections.Generic.KeyValuePair<TKey,TValue>>
type DictionaryModelBinder<'Key, 'Value> = class
inherit CollectionModelBinder<KeyValuePair<'Key, 'Value>>
Public Class DictionaryModelBinder(Of TKey, TValue)
Inherits CollectionModelBinder(Of KeyValuePair(Of TKey, TValue))
型パラメーター
- TKey
キーの型。
- TValue
値の型。
- 継承
コンストラクター
| 名前 | 説明 |
|---|---|
| DictionaryModelBinder<TKey,TValue>() |
DictionaryModelBinder<TKey,TValue> クラスの新しいインスタンスを初期化します。 |
メソッド
| 名前 | 説明 |
|---|---|
| BindModel(ModelBindingExecutionContext, ModelBindingContext) |
指定した実行コンテキストとバインド コンテキストを使用してモデルをバインドします。 (継承元 CollectionModelBinder<TElement>) |
| CreateOrReplaceCollection(ModelBindingExecutionContext, ModelBindingContext, IList<KeyValuePair<TKey,TValue>>) |
コレクションをディクショナリに変換します。 |
| CreateOrReplaceCollection(ModelBindingExecutionContext, ModelBindingContext, IList<TElement>) |
派生クラスがバインダーからコレクションを返す前にコレクションを操作する方法を提供します。 (継承元 CollectionModelBinder<TElement>) |
| Equals(Object) |
指定したオブジェクトが現在のオブジェクトと等しいかどうかを判断します。 (継承元 Object) |
| GetHashCode() |
既定のハッシュ関数として機能します。 (継承元 Object) |
| GetType() |
現在のインスタンスの Type を取得します。 (継承元 Object) |
| MemberwiseClone() |
現在の Objectの簡易コピーを作成します。 (継承元 Object) |
| ToString() |
現在のオブジェクトを表す文字列を返します。 (継承元 Object) |