StringLengthAttributeAdapter Конструктор

Определение

Инициализирует новый экземпляр класса StringLengthAttributeAdapter.

public:
 StringLengthAttributeAdapter(System::Web::ModelBinding::ModelMetadata ^ metadata, System::Web::ModelBinding::ModelBindingExecutionContext ^ context, System::ComponentModel::DataAnnotations::StringLengthAttribute ^ attribute);
public StringLengthAttributeAdapter (System.Web.ModelBinding.ModelMetadata metadata, System.Web.ModelBinding.ModelBindingExecutionContext context, System.ComponentModel.DataAnnotations.StringLengthAttribute attribute);
new System.Web.ModelBinding.StringLengthAttributeAdapter : System.Web.ModelBinding.ModelMetadata * System.Web.ModelBinding.ModelBindingExecutionContext * System.ComponentModel.DataAnnotations.StringLengthAttribute -> System.Web.ModelBinding.StringLengthAttributeAdapter
Public Sub New (metadata As ModelMetadata, context As ModelBindingExecutionContext, attribute As StringLengthAttribute)

Параметры

metadata
ModelMetadata

Метаданные.

context
ModelBindingExecutionContext

Контекст выполнения.

attribute
StringLengthAttribute

Атрибут.

Применяется к