Partager via


ModelingTextTransformation.ValidateStore Method

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

'Declaration
Protected Function ValidateStore ( _
    categories As String, _
    errors As CompilerErrorCollection _
) As Boolean
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 : String, 
    errors : CompilerErrorCollection
) : 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

.NET Framework Security

See Also

Reference

ModelingTextTransformation Class

Microsoft.VisualStudio.TextTemplating.VSHost Namespace