Partilhar via


ValidationController.ValidationMessages Property

Gets the validation messages for the controller.

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

Syntax

'Declaração
Public ReadOnly Property ValidationMessages As ReadOnlyCollection(Of ValidationMessage)
    Get
public ReadOnlyCollection<ValidationMessage> ValidationMessages { get; }
public:
property ReadOnlyCollection<ValidationMessage^>^ ValidationMessages {
    ReadOnlyCollection<ValidationMessage^>^ get ();
}
member ValidationMessages : ReadOnlyCollection<ValidationMessage>
function get ValidationMessages () : ReadOnlyCollection<ValidationMessage>

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<ValidationMessage>
A read-only collection of ValidationMessage objects for the controller.

Remarks

Each message represents an error, a warning, or a message.

.NET Framework Security

See Also

Reference

ValidationController Class

Microsoft.VisualStudio.Modeling.Validation Namespace