This documentation is archived and is not being maintained.

IVsaItems Interface

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Note: This API is now obsolete.

Defines an interface for a collection of IVsaItem objects, which can be addressed either by name or by index.

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

[ObsoleteAttribute("Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")]
public interface IVsaItems : IEnumerable

The IVsaItems type exposes the following members.

Public propertyCountGets the number of items in the specified collection.
Public propertyItem[Int32]Gets an item from the collection by its index value.
Public propertyItem[String]Gets an item from the collection by its name.

Public methodCreateItemCreates a new instance of one of the IVsaItem types, as defined in the VsaItemType enumeration.
Public methodGetEnumeratorReturns an enumerator that iterates through a collection. (Inherited from IEnumerable.)
Public methodRemove(Int32)Removes an item from the collection, as specified by its index value.
Public methodRemove(String)Removes an item from the collection, as specified by its name.