ModelBinderProviderCollection.RegisterBinderForGenericType メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ジェネリック型のコレクションにモデル バインダー プロバイダーを追加します。
オーバーロード
RegisterBinderForGenericType(Type, Func<Type[],IModelBinder>) |
指定されたモデルの型とモデル バインダー ファクトリを使用してジェネリック型のコレクションにモデル バインダー プロバイダーを追加します。 |
RegisterBinderForGenericType(Type, Type) |
指定されたモデルの型とモデル バインダーの型を使用してジェネリック型のコレクションにモデル バインダー プロバイダーを追加します。 |
RegisterBinderForGenericType(Type, IModelBinder) |
指定されたモデルの型とモデル バインダーを使用してジェネリック型のコレクションにモデル バインダー プロバイダーを追加します。 |
RegisterBinderForGenericType(Type, Func<Type[],IModelBinder>)
指定されたモデルの型とモデル バインダー ファクトリを使用してジェネリック型のコレクションにモデル バインダー プロバイダーを追加します。
public:
void RegisterBinderForGenericType(Type ^ modelType, Func<cli::array <Type ^> ^, System::Web::ModelBinding::IModelBinder ^> ^ modelBinderFactory);
public void RegisterBinderForGenericType (Type modelType, Func<Type[],System.Web.ModelBinding.IModelBinder> modelBinderFactory);
member this.RegisterBinderForGenericType : Type * Func<Type[], System.Web.ModelBinding.IModelBinder> -> unit
Public Sub RegisterBinderForGenericType (modelType As Type, modelBinderFactory As Func(Of Type(), IModelBinder))
パラメーター
- modelType
- Type
モデル型。
- modelBinderFactory
- Func<Type[],IModelBinder>
モデル バインダー ファクトリ。
適用対象
RegisterBinderForGenericType(Type, Type)
指定されたモデルの型とモデル バインダーの型を使用してジェネリック型のコレクションにモデル バインダー プロバイダーを追加します。
public:
void RegisterBinderForGenericType(Type ^ modelType, Type ^ modelBinderType);
public void RegisterBinderForGenericType (Type modelType, Type modelBinderType);
member this.RegisterBinderForGenericType : Type * Type -> unit
Public Sub RegisterBinderForGenericType (modelType As Type, modelBinderType As Type)
パラメーター
- modelType
- Type
モデル型。
- modelBinderType
- Type
モデル バインダーの種類。
適用対象
RegisterBinderForGenericType(Type, IModelBinder)
指定されたモデルの型とモデル バインダーを使用してジェネリック型のコレクションにモデル バインダー プロバイダーを追加します。
public:
void RegisterBinderForGenericType(Type ^ modelType, System::Web::ModelBinding::IModelBinder ^ modelBinder);
public void RegisterBinderForGenericType (Type modelType, System.Web.ModelBinding.IModelBinder modelBinder);
member this.RegisterBinderForGenericType : Type * System.Web.ModelBinding.IModelBinder -> unit
Public Sub RegisterBinderForGenericType (modelType As Type, modelBinder As IModelBinder)
パラメーター
- modelType
- Type
モデル型。
- modelBinder
- IModelBinder
モデル バインダー。
適用対象
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示