Export (0) Print
Expand All

FormAttribute.FieldName Property

.NET Framework 4.6 and 4.5

Gets the name of the form field.

Namespace:  System.Web.ModelBinding
Assembly:  System.Web (in System.Web.dll)

public string FieldName { get; private set; }

Property Value

Type: System.String
The name of the form field.

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

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft