ValidationController.Validate Method (Store, ValidationCategories)
Apply validation to every element in the Store, invoking methods that have ValidationMethod attributes for one or more of the specified categories.
Namespace: Microsoft.VisualStudio.Modeling.Validation
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Public Function Validate ( _
store As Store, _
categories As ValidationCategories _
) As Boolean
public bool Validate(
Store store,
ValidationCategories categories
)
public:
bool Validate(
Store^ store,
ValidationCategories categories
)
member Validate :
store:Store *
categories:ValidationCategories -> bool
public function Validate(
store : Store,
categories : ValidationCategories
) : boolean
Parameters
store
Type: Microsoft.VisualStudio.Modeling.StoreThe Store.
categories
Type: Microsoft.VisualStudio.Modeling.Validation.ValidationCategoriesSpecifies which validation methods to invoke.
Return Value
Type: System.Boolean
.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.