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)

Syntax

'Declaration
<GuidAttribute("0AB1EB6A-12BD-44d0-B941-0580ADFC73DE")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<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 _
    Inherits IEnumerable
[GuidAttribute("0AB1EB6A-12BD-44d0-B941-0580ADFC73DE")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[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
[GuidAttribute(L"0AB1EB6A-12BD-44d0-B941-0580ADFC73DE")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[ObsoleteAttribute(L"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 class IVsaItems : IEnumerable
[<GuidAttribute("0AB1EB6A-12BD-44d0-B941-0580ADFC73DE")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<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.")>]
type IVsaItems =  
    interface 
        interface IEnumerable 
    end
public interface IVsaItems extends IEnumerable

The IVsaItems type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of items in the specified collection.
Public property Item[Int32] Gets an item from the collection by its index value.
Public property Item[String] Gets an item from the collection by its name.

Top

Methods

  Name Description
Public method CreateItem Creates a new instance of one of the IVsaItem types, as defined in the VsaItemType enumeration.
Public method GetEnumerator Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.)
Public method Remove(Int32) Removes an item from the collection, as specified by its index value.
Public method Remove(String) Removes an item from the collection, as specified by its name.

Top

See Also

Reference

Microsoft.Vsa Namespace