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
store
Type: Microsoft.VisualStudio.Modeling.StoreThe store whose model elements will be validated.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.