Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the collection of validation messages for the validation context.
Namespace: Microsoft.VisualStudio.Modeling.Validation
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'Declaration
Public ReadOnly Property CurrentViolations As ReadOnlyCollection(Of ValidationMessage)
'Usage
Dim instance As ValidationContext
Dim value As ReadOnlyCollection(Of ValidationMessage)
value = instance.CurrentViolations
public ReadOnlyCollection<ValidationMessage> CurrentViolations { get; }
public:
property ReadOnlyCollection<ValidationMessage^>^ CurrentViolations {
ReadOnlyCollection<ValidationMessage^>^ get ();
}
public function get CurrentViolations () : ReadOnlyCollection<ValidationMessage>
Property Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<ValidationMessage>
Returns a read-only collection of LogMessage objects.
.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.