Język

IVsaItems Interfejs

Definicja

Uwaga

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.

Definiuje interfejs dla kolekcji IVsaItem obiektów, które można rozwiązać za pomocą nazwy lub indeksu.

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
Pochodne
Atrybuty
Implementuje

Właściwości

Nazwa Opis
Count
Przestarzałe.

Pobiera liczbę elementów w określonej kolekcji.

Item[Int32]
Przestarzałe.

Pobiera element z kolekcji według jej wartości indeksu.

Item[String]
Przestarzałe.

Pobiera element z kolekcji według jego nazwy.

Metody

Nazwa Opis
CreateItem(String, VsaItemType, VsaItemFlag)
Przestarzałe.

Tworzy nowe wystąpienie jednego z typów, zgodnie z IVsaItem definicją VsaItemType w wyliczeniem.

GetEnumerator()
Przestarzałe.

Zwraca moduł wyliczający, który iteruje za pośrednictwem kolekcji.

(Odziedziczone po IEnumerable)
Remove(Int32)
Przestarzałe.

Usuwa element z kolekcji zgodnie z jego wartością indeksu.

Remove(String)
Przestarzałe.

Usuwa element z kolekcji zgodnie z jego nazwą.

Metody rozszerzania

Nazwa Opis
AsQueryable(IEnumerable)
Przestarzałe.

Konwertuje IEnumerable na IQueryable.

Cast<TResult>(IEnumerable)
Przestarzałe.

Rzutuje elementy IEnumerable do określonego typu.

OfType<TResult>(IEnumerable)
Przestarzałe.

Filtruje elementy IEnumerable na podstawie określonego typu.

Dotyczy