GetCodeCompileUnit Method

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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

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

.NET Framework

Supported in: 3.5 SP1, 3.0 SP1, 2.0 SP1

Community Additions

© 2015 Microsoft