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: StringThe categories of validation to apply. Use 'open', 'load', 'save', and 'menu'. Separate multiple categories with '|'.
errors
Type: CompilerErrorCollectionError reports will be placed in this collection.
Return Value
Type: 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.