ValidationContext.CurrentViolations Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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