IVsaItems Gränssnitt

Definition

Varning

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.

Definierar ett gränssnitt för en samling IVsaItem objekt, som kan adresseras antingen efter namn eller index.

public interface class IVsaItems : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("0AB1EB6A-12BD-44d0-B941-0580ADFC73DE")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsaItems : System.Collections.IEnumerable
[System.Runtime.InteropServices.Guid("0AB1EB6A-12BD-44d0-B941-0580ADFC73DE")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Obsolete("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 : System.Collections.IEnumerable
[<System.Runtime.InteropServices.Guid("0AB1EB6A-12BD-44d0-B941-0580ADFC73DE")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsaItems = interface
    interface IEnumerable
[<System.Runtime.InteropServices.Guid("0AB1EB6A-12BD-44d0-B941-0580ADFC73DE")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Obsolete("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
Public Interface IVsaItems
Implements IEnumerable
Härledda
Attribut
Implementeringar

Egenskaper

Name Description
Count
Föråldrad.

Hämtar antalet objekt i den angivna samlingen.

Item[Int32]
Föråldrad.

Hämtar ett objekt från samlingen efter dess indexvärde.

Item[String]
Föråldrad.

Hämtar ett objekt från samlingen med dess namn.

Metoder

Name Description
CreateItem(String, VsaItemType, VsaItemFlag)
Föråldrad.

Skapar en ny instans av en av typerna IVsaItem enligt definitionen i VsaItemType uppräkningen.

GetEnumerator()
Föråldrad.

Returnerar en uppräknare som itererar genom en samling.

(Ärvd från IEnumerable)
Remove(Int32)
Föråldrad.

Tar bort ett objekt från samlingen enligt indexvärdet.

Remove(String)
Föråldrad.

Tar bort ett objekt från samlingen enligt namnet.

Tilläggsmetoder

Name Description
AsQueryable(IEnumerable)
Föråldrad.

Konverterar en IEnumerable till en IQueryable.

Cast<TResult>(IEnumerable)
Föråldrad.

Omvandlar elementen i en IEnumerable till den angivna typen.

OfType<TResult>(IEnumerable)
Föråldrad.

Filtrerar elementen i en IEnumerable baserat på en angiven typ.

Gäller för