Interfejs IVsaItems

Uwaga: ten interfejs API jest teraz nieaktualny.

Definiuje interfejs dla kolekcji IVsaItem obiektów, które może zostać zlikwidowane według nazwy lub według indeksu.

Przestrzeń nazw:  Microsoft.Vsa
Zestaw:  Microsoft.Vsa (w Microsoft.Vsa.dll)

Składnia

'Deklaracja
<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

Typ IVsaItems uwidacznia następujące elementy członkowskie.

Właściwości

  Nazwa Opis
Właściwość publiczna Count Pobiera liczbę elementów w określonej kolekcji.
Właściwość publiczna Item[Int32] Pobiera element z kolekcji przy jego wartość indeksu.
Właściwość publiczna Item[String] Pobiera element z kolekcji według jego nazwy.

Początek

Metody

  Nazwa Opis
Metoda publiczna CreateItem Tworzy nowe wystąpienie jednego z IVsaItem typy, zgodnie z definicją w VsaItemType wyliczenia.
Metoda publiczna GetEnumerator Returns an enumerator that iterates through a collection. (Odziedziczone z IEnumerable).
Metoda publiczna Remove(Int32) Usuwa element z kolekcji, określony przez jego wartość indeksu.
Metoda publiczna Remove(String) Usuwa element z kolekcji, określony przez jego nazwy.

Początek

Zobacz też

Informacje

Przestrzeń nazw Microsoft.Vsa