Edit

Share via


IVsaCodeItem.CodeDOM Property

Definition

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

public:
 property System::CodeDom::CodeObject ^ CodeDOM { System::CodeDom::CodeObject ^ get(); };
public System.CodeDom.CodeObject CodeDOM { get; }
member this.CodeDOM : System.CodeDom.CodeObject
Public ReadOnly Property CodeDOM As CodeObject

Property Value

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.

Applies to