Domain-Specific Language Tools Reference
TextTransformation..::.Errors Property

Updated: November 2007

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets the error collection for the text template transformation process.

Namespace:  Microsoft.VisualStudio.TextTemplating
Assembly:  Microsoft.VisualStudio.TextTemplating (in Microsoft.VisualStudio.TextTemplating.dll)

Syntax

Visual Basic (Declaration)
Protected Friend ReadOnly Property Errors As CompilerErrorCollection
Visual Basic (Usage)
Dim value As CompilerErrorCollection

value = Me.Errors
C#
protected internal CompilerErrorCollection Errors { get; }
Visual C++
protected public:
property CompilerErrorCollection^ Errors {
    CompilerErrorCollection^ get ();
}
JScript
protected internal function get Errors () : CompilerErrorCollection

Property Value

Type: System.CodeDom.Compiler..::.CompilerErrorCollection

A CompilerErrorCollection that contains the errors and warnings raised during the text template transformation process.

Remarks

Errors that occur during the text template transformation process are stored in this property. The engine passes the errors to the host when it is done processing, and the host can decide how to display them. For example the host can display the errors in the UI or write them to a file. The user should not access this property directly.

Permissions

See Also

Reference

Error()()()
Warning()()()

Other Resources

Tags :


Page view tracker