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.StringThe categories of validation to apply. Use 'open', 'load', 'save', and 'menu'. Separate multiple categories with '|'.
errors
Type: System.CodeDom.Compiler.CompilerErrorCollectionError reports will be placed in this collection.
Return Value
Type: System.Boolean
See Also
ModelingTextTransformation Class
Microsoft.VisualStudio.TextTemplating.VSHost Namespace
Return to top