ModelMetadata.PropertyName Property

.NET Framework (current version)
 

Gets the name of the property.

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

public string PropertyName { get; }

Property Value

Type: System.String

The name of the property if the model is a property; otherwise, null.

.NET Framework
Available since 4.5
Return to top
Show: