ModelMetadataProviderExtensions.GetModelExplorerForType メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ModelExplorer指定された modelType
と model
の を取得します。
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Mvc::ViewFeatures::ModelExplorer ^ GetModelExplorerForType(Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ provider, Type ^ modelType, System::Object ^ model);
public static Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer GetModelExplorerForType (this Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider provider, Type modelType, object model);
static member GetModelExplorerForType : Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider * Type * obj -> Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer
<Extension()>
Public Function GetModelExplorerForType (provider As IModelMetadataProvider, modelType As Type, model As Object) As ModelExplorer
パラメーター
- provider
- IModelMetadataProvider
- model
- Object
モデル オブジェクト。
戻り値
ModelExplorerと model
の modelType
。