Share via


ValidationController.ValidationMessages Property

Gets the validation messages for the controller.

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

Syntax

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

Property Value

Type: 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