Interface IVsaItems

Observação: esta API agora é obsoleta.

Define uma interface para uma coleção de IVsaItem objetos, que podem ser tratados por nome ou por índice.

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

Sintaxe

'Declaração
<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

O tipo IVsaItems expõe os membros a seguir.

Propriedades

  Nome Descrição
Propriedade pública Count Obtém o número de itens na coleção especificada.
Propriedade pública Item[Int32] Obtém um item da coleção por seu valor de índice.
Propriedade pública Item[String] Obtém um item da coleção por seu nome.

Superior

Métodos

  Nome Descrição
Método público CreateItem Cria uma nova instância de um a IVsaItem tipos, conforme definido no VsaItemType enumeração.
Método público GetEnumerator Returns an enumerator that iterates through a collection. (Herdado de IEnumerable.)
Método público Remove(Int32) Remove um item da coleção, conforme especificado pelo seu valor de índice.
Método público Remove(String) Remove um item da coleção, conforme especificado por seu nome.

Superior

Consulte também

Referência

Namespace Microsoft.Vsa