ValidationMessageStore.Item[Expression<Func 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Item[FieldIdentifier] |
获取指定字段的此 ValidationMessageStore 中的验证消息。 若要跨所有验证消息存储获取验证消息,请改用GetValidationMessages(FieldIdentifier) |
Item[Expression<Func<Object>>] |
获取指定字段的此 ValidationMessageStore 中的验证消息。 若要跨所有验证消息存储获取验证消息,请改用GetValidationMessages(FieldIdentifier) |
Item[FieldIdentifier]
- Source:
- ValidationMessageStore.cs
- Source:
- ValidationMessageStore.cs
- Source:
- ValidationMessageStore.cs
- Source:
- ValidationMessageStore.cs
- Source:
- ValidationMessageStore.cs
- Source:
- ValidationMessageStore.cs
- Source:
- ValidationMessageStore.cs
获取指定字段的此 ValidationMessageStore 中的验证消息。
若要跨所有验证消息存储获取验证消息,请改用GetValidationMessages(FieldIdentifier)
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)
参数
- fieldIdentifier
- FieldIdentifier
字段的标识符。
属性值
此 ValidationMessageStore中指定字段的验证消息。
适用于
Item[Expression<Func<Object>>]
- Source:
- ValidationMessageStore.cs
- Source:
- ValidationMessageStore.cs
- Source:
- ValidationMessageStore.cs
- Source:
- ValidationMessageStore.cs
- Source:
- ValidationMessageStore.cs
- Source:
- ValidationMessageStore.cs
- Source:
- ValidationMessageStore.cs
获取指定字段的此 ValidationMessageStore 中的验证消息。
若要跨所有验证消息存储获取验证消息,请改用GetValidationMessages(FieldIdentifier)
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)
参数
- accessor
- Expression<Func<Object>>
字段的标识符。
属性值
此 ValidationMessageStore中指定字段的验证消息。