ValidationController.ValidationMessages Property
Gets the validation messages for the controller.
Namespace: Microsoft.VisualStudio.Modeling.Validation
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'Declaration
Public ReadOnly Property ValidationMessages As ReadOnlyCollection(Of ValidationMessage)
'Usage
Dim instance As ValidationController
Dim value As ReadOnlyCollection(Of ValidationMessage)
value = instance.ValidationMessages
public ReadOnlyCollection<ValidationMessage> ValidationMessages { get; }
public:
property ReadOnlyCollection<ValidationMessage^>^ ValidationMessages {
ReadOnlyCollection<ValidationMessage^>^ get ();
}
public 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.