Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

FieldValidationMetadata.FieldName Property


Gets or sets the name of the data field.

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

public string FieldName { get; set; }

Property Value

Type: System.String

The name of the data field.

The field name is set by the ValidationMessage method. You typically do not have to use this property directly.

Return to top
© 2015 Microsoft