共用方式為


ValidatableObjectAdapter(ModelMetadata, ModelBindingExecutionContext) 建構函式

定義

初始化 ValidatableObjectAdapter 類別的新執行個體。

public:
 ValidatableObjectAdapter(System::Web::ModelBinding::ModelMetadata ^ metadata, System::Web::ModelBinding::ModelBindingExecutionContext ^ context);
public ValidatableObjectAdapter (System.Web.ModelBinding.ModelMetadata metadata, System.Web.ModelBinding.ModelBindingExecutionContext context);
new System.Web.ModelBinding.ValidatableObjectAdapter : System.Web.ModelBinding.ModelMetadata * System.Web.ModelBinding.ModelBindingExecutionContext -> System.Web.ModelBinding.ValidatableObjectAdapter
Public Sub New (metadata As ModelMetadata, context As ModelBindingExecutionContext)

參數

metadata
ModelMetadata

中繼資料。

context
ModelBindingExecutionContext

執行內容。

適用於