Share via


IVsaEngine.Items Property

Gets the IVsaItems collection of IVsaItem objects, which represent all items added to the script engine using the IVsaItems.CreateItem method, including code items, reference items, and global items.

public: __property IVsaItems* get_Items();
public IVsaItems Items {get;}
Public Property Get Items() As IVsaItems

Return Value

Returns an IVsaItems collection.

Remarks

Add items to the script engine's items collection using the IVsaItems.CreateItem method.

The following table shows the exceptions that the Items property can throw.

Exception Type

Condition

EngineClosed

The Close method has been called and the engine is closed.

EngineBusy

The engine is currently executing code for another thread.

EngineNotInitialized

The engine has not been initialized.

See Also

Reference

IVsaEngine Interface

IVsaItems.CreateItem Method