Partager 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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Déclaration
Public ReadOnly Property ErrorMessages As ReadOnlyCollection(Of ValidationMessage)
    Get
public ReadOnlyCollection<ValidationMessage> ErrorMessages { get; }
public:
property ReadOnlyCollection<ValidationMessage^>^ ErrorMessages {
    ReadOnlyCollection<ValidationMessage^>^ get ();
}
member ErrorMessages : ReadOnlyCollection<ValidationMessage>
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