Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Validates the store with the given validation categories. Returns true if there are errors.
Namespace: Microsoft.VisualStudio.TextTemplating.VSHost
Assembly: Microsoft.VisualStudio.TextTemplating.Modeling.10.0 (in Microsoft.VisualStudio.TextTemplating.Modeling.10.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 '|'.
- errors
Type: System.CodeDom.Compiler.CompilerErrorCollection
Error reports will be placed in this collection.
Return Value
Type: System.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.