This documentation is archived and is not being maintained.

BuildProvider.GetCodeCompileUnit Method

Represents the container for the generated CodeDOM graph.

Namespace:  System.Web.Compilation
Assembly:  System.Web (in System.Web.dll)

protected internal virtual CodeCompileUnit GetCodeCompileUnit(
	out IDictionary linePragmasTable


Type: System.Collections.IDictionary%
When this method returns, contains a dictionary that contains all associated line numbers and line pragmas of the source code. This parameter is passed uninitialized.

Return Value

Type: System.CodeDom.CodeCompileUnit
The container for the CodeDOM graph that is generated by the BuildProvider instance.

This method can be used through the ClientBuildManager class for syntax highlighting and designer support in Visual Studio.

.NET Framework

Supported in: 4, 3.5 SP1, 3.0 SP1, 2.0 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.