ValidationMessageStore.Item[Expression<Func Property

Definition

Overloads

Item[FieldIdentifier]

Gets the validation messages within this ValidationMessageStore for the specified field.

To get the validation messages across all validation message stores, use GetValidationMessages(FieldIdentifier) instead

Item[Expression<Func<Object>>]

Gets the validation messages within this ValidationMessageStore for the specified field.

To get the validation messages across all validation message stores, use GetValidationMessages(FieldIdentifier) instead

Item[FieldIdentifier]

Source:
ValidationMessageStore.cs
Source:
ValidationMessageStore.cs
Source:
ValidationMessageStore.cs
Source:
ValidationMessageStore.cs
Source:
ValidationMessageStore.cs
Source:
ValidationMessageStore.cs

Gets the validation messages within this ValidationMessageStore for the specified field.

To get the validation messages across all validation message stores, use GetValidationMessages(FieldIdentifier) instead

public:
 property System::Collections::Generic::IEnumerable<System::String ^> ^ default[Microsoft::AspNetCore::Components::Forms::FieldIdentifier] { System::Collections::Generic::IEnumerable<System::String ^> ^ get(Microsoft::AspNetCore::Components::Forms::FieldIdentifier fieldIdentifier); };
public System.Collections.Generic.IEnumerable<string> this[Microsoft.AspNetCore.Components.Forms.FieldIdentifier fieldIdentifier] { get; }
member this.Item(Microsoft.AspNetCore.Components.Forms.FieldIdentifier) : seq<string>
Default Public ReadOnly Property Item(fieldIdentifier As FieldIdentifier) As IEnumerable(Of String)

Parameters

fieldIdentifier
FieldIdentifier

The identifier for the field.

Property Value

The validation messages for the specified field within this ValidationMessageStore.

Applies to

Item[Expression<Func<Object>>]

Source:
ValidationMessageStore.cs
Source:
ValidationMessageStore.cs
Source:
ValidationMessageStore.cs
Source:
ValidationMessageStore.cs
Source:
ValidationMessageStore.cs
Source:
ValidationMessageStore.cs

Gets the validation messages within this ValidationMessageStore for the specified field.

To get the validation messages across all validation message stores, use GetValidationMessages(FieldIdentifier) instead

public:
 property System::Collections::Generic::IEnumerable<System::String ^> ^ default[System::Linq::Expressions::Expression<Func<System::Object ^> ^> ^] { System::Collections::Generic::IEnumerable<System::String ^> ^ get(System::Linq::Expressions::Expression<Func<System::Object ^> ^> ^ accessor); };
public System.Collections.Generic.IEnumerable<string> this[System.Linq.Expressions.Expression<Func<object>> accessor] { get; }
member this.Item(System.Linq.Expressions.Expression<Func<obj>>) : seq<string>
Default Public ReadOnly Property Item(accessor As Expression(Of Func(Of Object))) As IEnumerable(Of String)

Parameters

accessor
Expression<Func<Object>>

The identifier for the field.

Property Value

The validation messages for the specified field within this ValidationMessageStore.

Applies to