ValidationContext.CurrentViolations Property

Definition

Returns the readonly collection of reported validation messages.

public:
 property System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Modeling::Validation::ValidationMessage ^> ^ CurrentViolations { System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Modeling::Validation::ValidationMessage ^> ^ get(); };
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.Validation.ValidationMessage> CurrentViolations { [System.Diagnostics.DebuggerStepThrough] get; }
[<get: System.Diagnostics.DebuggerStepThrough>]
member this.CurrentViolations : System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.Validation.ValidationMessage>
Public ReadOnly Property CurrentViolations As ReadOnlyCollection(Of ValidationMessage)

Property Value

Attributes

Applies to