VsValidationController.ValidateCustom Method

Definition

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

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.

Applies to