Compartilhar via


ModelBindingContext.ValidationNode Property

Gets or sets the validation node.

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

Syntax

'Declaration
Public Property ValidationNode As ModelValidationNode
    Get
    Set
'Usage
Dim instance As ModelBindingContext
Dim value As ModelValidationNode

value = instance.ValidationNode

instance.ValidationNode = value
public ModelValidationNode ValidationNode { get; set; }
public:
property ModelValidationNode^ ValidationNode {
    ModelValidationNode^ get ();
    void set (ModelValidationNode^ value);
}
member ValidationNode : ModelValidationNode with get, set
function get ValidationNode () : ModelValidationNode
function set ValidationNode (value : ModelValidationNode)

Property Value

Type: System.Web.Http.Validation.ModelValidationNode
The validation node.

See Also

Reference

ModelBindingContext Class

System.Web.Http.ModelBinding Namespace