Share via


ModelValidationNode.ModelStateKey Property

 

Gets the model state key.

Namespace:   Microsoft.Web.Mvc.ModelBinding
Assembly:  Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)

Syntax

public string ModelStateKey { get; private set; }
public:
property String^ ModelStateKey {
    String^ get();
    private: void set(String^ value);
}
member ModelStateKey : string with get, private set
Public Property ModelStateKey As String
    Get
    Private Set
End Property

Property Value

Type: System.String

The model state key.

See Also

ModelValidationNode Class
Microsoft.Web.Mvc.ModelBinding Namespace

Return to top