IVsaItems.Item(String) Property
Gets an item from the collection by its name.
public: __property IVsaItem* get_Item(String* Name);
public IVsaItem this[string Name] {get;}
Default Public Property Get Item(ByVal Name As String) As IVsaItem
Parameters
- name
The name of the item to retrieve from the collection.
Return Value
Returns the item specified by name.
Remarks
This is an overloaded property that retrieves the specified item from the collection using a name parameter.
The following table shows the exceptions that the Item(String) property can throw.
Exception Type |
Condition |
---|---|
EngineClosed |
The IVsaEngine.Close method has been called and the engine is closed. |
EngineNotInitialized |
The engine has not been initialized. |
ItemNotFound |
The item was not found in the collection. |