ModelMetadata.PropertyName Property

Visual Studio 2010

Gets the property name.

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

'Declaration
Public ReadOnly Property PropertyName As String
	Get

Property Value

Type: System.String
The property name.

If the model is not a property, the value of PropertyName is Nothing.

Community Additions

ADD
Show: