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.11.0 (in Microsoft.VisualStudio.TextTemplating.Modeling.11.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: String

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

  • errors
    Type: CompilerErrorCollection

    Error reports will be placed in this collection.

Return Value

Type: Boolean

.NET Framework Security

See Also

Reference

ModelingTextTransformation Class

Microsoft.VisualStudio.TextTemplating.VSHost Namespace