ValidationController.ValidateCustom Method (Store, array<String[])

Validates the model elements in a store for the specified custom validation categories.

Namespace:  Microsoft.VisualStudio.Modeling.Validation
Assembly:  Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)

Syntax

'Declaration
Public Function ValidateCustom ( _
    store As Store, _
    ParamArray customCategories As String() _
) As Boolean
'Usage
Dim instance As ValidationController 
Dim store As Store 
Dim customCategories As String()
Dim returnValue As Boolean 

returnValue = instance.ValidateCustom(store, _
    customCategories)
public bool ValidateCustom(
    Store store,
    params string[] customCategories
)
public:
bool ValidateCustom(
    Store^ store, 
    ... array<String^>^ customCategories
)
public function ValidateCustom(
    store : Store, 
    ... customCategories : String[]
) : boolean

Parameters

  • customCategories
    Type: array<System.String[]

    An array of strings that indicate the custom validation categories.

Return Value

Type: System.Boolean
true if the store is valid and no errors were found; otherwise, false.

.NET Framework Security

See Also

Reference

ValidationController Class

ValidationController Members

ValidateCustom Overload

Microsoft.VisualStudio.Modeling.Validation Namespace