ValidationErrorContext.Errors 属性

定义

获取与验证错误关联的错误消息列表。

public:
 property System::Collections::Generic::IReadOnlyList<System::String ^> ^ Errors { System::Collections::Generic::IReadOnlyList<System::String ^> ^ get(); void set(System::Collections::Generic::IReadOnlyList<System::String ^> ^ value); };
public System.Collections.Generic.IReadOnlyList<string> Errors { get; init; }
member this.Errors : System.Collections.Generic.IReadOnlyList<string> with get, set
Public Property Errors As IReadOnlyList(Of String)

属性值

适用于