ValidationController.ValidationMessages Property
Gets the validation messages for the controller.
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 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: 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.