Dela 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

ModelStateEntry()

Properties

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

GetModelStateForProperty(String)

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

Applies to