Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2008
Visual Studio
Visual Studio SDK
 Errors Property
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
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)

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.

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.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker