ValidateContext.ValidationErrors Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the dictionary of validation errors collected during validation.
public:
property System::Collections::Generic::Dictionary<System::String ^, cli::array <System::String ^> ^> ^ ValidationErrors { System::Collections::Generic::Dictionary<System::String ^, cli::array <System::String ^> ^> ^ get(); void set(System::Collections::Generic::Dictionary<System::String ^, cli::array <System::String ^> ^> ^ value); };
public System.Collections.Generic.Dictionary<string,string[]>? ValidationErrors { get; set; }
member this.ValidationErrors : System.Collections.Generic.Dictionary<string, string[]> with get, set
Public Property ValidationErrors As Dictionary(Of String, String())
Property Value
Remarks
Keys are property names or paths, and values are arrays of error messages. In the default implementation, this dictionary is initialized when the first error is added.