Share via


ModelingTextTransformation.ValidateStore Method (String, CompilerErrorCollection)

 

Validates the store with the given validation categories. Returns true if there are errors.

Namespace:   Microsoft.VisualStudio.TextTemplating.VSHost
Assembly:  Microsoft.VisualStudio.TextTemplating.Modeling.12.0 (in Microsoft.VisualStudio.TextTemplating.Modeling.12.0.dll)

Syntax

protected bool ValidateStore(
    string categories,
    CompilerErrorCollection errors
)
protected:
bool ValidateStore(
    String^ categories,
    CompilerErrorCollection^ errors
)
member ValidateStore : 
        categories:string *
        errors:CompilerErrorCollection -> bool
Protected Function ValidateStore (
    categories As String,
    errors As CompilerErrorCollection
) As Boolean

Parameters

  • categories
    Type: System.String

    The categories of validation to apply. Use 'open', 'load', 'save', and 'menu'. Separate multiple categories with '|'.

Return Value

Type: System.Boolean

See Also

ModelingTextTransformation Class
Microsoft.VisualStudio.TextTemplating.VSHost Namespace

Return to top