This documentation is archived and is not being maintained.
ModelMetadata.PropertyName Property
Namespace:
System.Web.Mvc Assembly:
System.Web.Mvc (in System.Web.Mvc.dll)
'Declaration
Public ReadOnly Property PropertyName As String
Get
'Usage
Dim instance As ModelMetadata
Dim value As String
value = instance.PropertyName
If the model is not a property, the value of PropertyName is Nothing.