Interfaccia IVsaItems

Nota: questa API è ora obsoleta.

Definisce un'interfaccia per un insieme di oggetti IVsaItem, a cui è possibile fare riferimento mediante il nome o l'indice.

Spazio dei nomi:  Microsoft.Vsa
Assembly:  Microsoft.Vsa (in Microsoft.Vsa.dll)

Sintassi

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

Il tipo IVsaItems espone i seguenti membri.

Proprietà

  Nome Descrizione
Proprietà pubblica Count Ottiene il numero di elementi dell'insieme specificato.
Proprietà pubblica Item[Int32] Ottiene un elemento dall'insieme in base al relativo valore di indice.
Proprietà pubblica Item[String] Ottiene un elemento dall'insieme in base al relativo nome.

In alto

Metodi

  Nome Descrizione
Metodo pubblico CreateItem Crea una nuova istanza di uno dei tipi IVsaItem, come definito nell'enumerazione VsaItemType.
Metodo pubblico GetEnumerator Restituisce un enumeratore che consente di scorrere una raccolta. (Ereditato da IEnumerable)
Metodo pubblico Remove(Int32) Rimuove un elemento dall'insieme in base al relativo valore di indice.
Metodo pubblico Remove(String) Rimuove un elemento dall'insieme in base al relativo nome.

In alto

Vedere anche

Riferimenti

Spazio dei nomi Microsoft.Vsa