Share via


ModelValidationNode.ModelStateKey Property

Gets or sets the model state key.

Namespace:  System.Web.Http.Validation
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Property ModelStateKey As String
    Get
    Private Set
'Usage
Dim instance As ModelValidationNode
Dim value As String

value = instance.ModelStateKey
public string ModelStateKey { get; private set; }
public:
property String^ ModelStateKey {
    String^ get ();
    private: void set (String^ value);
}
member ModelStateKey : string with get, private set
function get ModelStateKey () : String
private function set ModelStateKey (value : String)

Property Value

Type: System.String
The model state key.

See Also

Reference

ModelValidationNode Class

System.Web.Http.Validation Namespace