VsValidationController.ValidateCustom Method
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.
Do validation for a set of elements based on the custom specified string
public:
override bool ValidateCustom(System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ subjects, ... cli::array <System::String ^> ^ customCategories);
public override bool ValidateCustom (System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Modeling.ModelElement> subjects, params string[] customCategories);
override this.ValidateCustom : seq<Microsoft.VisualStudio.Modeling.ModelElement> * string[] -> bool
Public Overrides Function ValidateCustom (subjects As IEnumerable(Of ModelElement), ParamArray customCategories As String()) As Boolean
Parameters
- subjects
- IEnumerable<ModelElement>
- customCategories
- String[]
A list of custom specified strings. This allows the validation method with the given strings to be validated. Note: At least one custom string needs to be specified, or exception will be thrown.
Returns
Returns true if no error/warning/message are found.