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)

Syntax

'Declaration
ReadOnly Property CodeDOM As CodeObject
    Get
CodeObject CodeDOM { get; }
property CodeObject^ CodeDOM {
    CodeObject^ get ();
}
abstract CodeDOM : CodeObject
function get CodeDOM () : CodeObject

Property Value

Type: System.CodeDom.CodeObject
Returns the CodeDOM for the code item.

Remarks

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.

See Also

Reference

IVsaCodeItem Interface

Microsoft.Vsa Namespace