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)

'Declaration
Public Property FieldName As String 
	Get 
	Set
'Usage
Dim instance As FieldValidationMetadata 
Dim value As String 

value = instance.FieldName

instance.FieldName = value

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.

Show: