ModelValidationNode Class
TOC
Collapse the table of content
Expand the table of content

ModelValidationNode Class

.NET Framework (current version)
 

Provides a container for model validation information.

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

System.Object
  System.Web.ModelBinding.ModelValidationNode

public sealed class ModelValidationNode

NameDescription
System_CAPS_pubmethodModelValidationNode(ModelMetadata, String)

Initializes a new instance of the ModelValidationNode class, using the model metadata and state key.

System_CAPS_pubmethodModelValidationNode(ModelMetadata, String, IEnumerable<ModelValidationNode>)

Initializes a new instance of the ModelValidationNode class, using the model metadata, the model state key, and child model-validation nodes.

NameDescription
System_CAPS_pubpropertyChildNodes

Gets the child nodes.

System_CAPS_pubpropertyModelMetadata

Gets the model metadata.

System_CAPS_pubpropertyModelStateKey

Gets the model state key.

System_CAPS_pubpropertySuppressValidation

Gets or sets a value that indicates whether validation should be suppressed.

System_CAPS_pubpropertyValidateAllProperties

Gets or sets a value that indicates whether all properties of the model should be validated.

NameDescription
System_CAPS_pubmethodCombineWith(ModelValidationNode)

Combines the current ModelValidationNode instance with a specified ModelValidationNode instance.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodValidate(ModelBindingExecutionContext)

Validates the model using the specified execution context.

System_CAPS_pubmethodValidate(ModelBindingExecutionContext, ModelValidationNode)

Validates the model using the specified execution context and parent node.

NameDescription
System_CAPS_pubeventValidated

Occurs when the model has been validated.

System_CAPS_pubeventValidating

Occurs when the model is being validated.

.NET Framework
Available since 4.5

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft