Editar

Compartir a través de


FormAttribute Constructors

Definition

Initializes a new instance of the FormAttribute class.

Overloads

FormAttribute()

Initializes a new instance of the FormAttribute class.

FormAttribute(String)

Initializes a new instance of the FormAttribute class using the specified form field name.

Remarks

For a tutorial series on using model binding with Web Forms, see Model Binding and Web Forms.

FormAttribute()

Initializes a new instance of the FormAttribute class.

public:
 FormAttribute();
public FormAttribute ();
Public Sub New ()

Remarks

For a tutorial series on using model binding with Web Forms, see Model Binding and Web Forms.

Applies to

FormAttribute(String)

Initializes a new instance of the FormAttribute class using the specified form field name.

public:
 FormAttribute(System::String ^ fieldName);
public FormAttribute (string fieldName);
new System.Web.ModelBinding.FormAttribute : string -> System.Web.ModelBinding.FormAttribute
Public Sub New (fieldName As String)

Parameters

fieldName
String

The name of the form field.

Remarks

For a tutorial series on using model binding with Web Forms, see Model Binding and Web Forms.

Applies to