This documentation is archived and is not being maintained.

IVsaCodeItem.CodeDOM Property

Gets the code document object model (CodeDOM) represented in the code item.

Namespace: Microsoft.Vsa
Assembly: Microsoft.Vsa (in microsoft.vsa.dll)

CodeObject CodeDOM { get; }
/** @property */
CodeObject get_CodeDOM ()

function get CodeDOM () : CodeObject

Not applicable.

Property Value

Returns the CodeDOM for the code item.

The CodeDOM property is typically generated as part of the compilation step of the script engine, so it is not available until after a call to the IVsaEngine.Compile method. Some VSA implementations may be able to provide the CodeDOM dynamically, without the need for an explicit compilation step, but hosts cannot rely on this behavior. Some script engines, for example, the JScript .NET script engine, do not support this behavior.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0
Show: