Share via


ModelStateEntry Class

Definition

An entry in a ModelStateDictionary.

public ref class ModelStateEntry abstract
public abstract class ModelStateEntry
type ModelStateEntry = class
Public MustInherit Class ModelStateEntry
Inheritance
ModelStateEntry

Constructors

Name Description
ModelStateEntry()

Properties

Name Description
AttemptedValue

Gets the set of values contained in RawValue, joined into a comma-separated string.

Children

Gets the ModelStateEntry values for sub-properties.

Errors

Gets the ModelErrorCollection for this entry.

IsContainerNode

Gets a value that determines if the current instance of ModelStateEntry is a container node. Container nodes represent prefix nodes that aren't explicitly added to the ModelStateDictionary.

RawValue

Gets the raw value from the request associated with this entry.

ValidationState

Gets or sets the ModelValidationState for this entry.

Methods

Name Description
GetModelStateForProperty(String)

Gets the ModelStateEntry for a sub-property with the specified propertyName.

Applies to