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
'宣告
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
- 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.