Delen via


ValidationController.ErrorMessages Property

Gets a copy of all the active error and fatal messages.

Namespace:  Microsoft.VisualStudio.Modeling.Validation
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Syntax

'Declaration
Public ReadOnly Property ErrorMessages As ReadOnlyCollection(Of ValidationMessage)
public ReadOnlyCollection<ValidationMessage> ErrorMessages { get; }
public:
property ReadOnlyCollection<ValidationMessage^>^ ErrorMessages {
    ReadOnlyCollection<ValidationMessage^>^ get ();
}
member ErrorMessages : ReadOnlyCollection<ValidationMessage> with get
function get ErrorMessages () : ReadOnlyCollection<ValidationMessage>

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<ValidationMessage>

.NET Framework Security

See Also

Reference

ValidationController Class

Microsoft.VisualStudio.Modeling.Validation Namespace