IVsaItems Antarmuka

Definisi

Perhatian

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.

Mendefinisikan antarmuka untuk kumpulan IVsaItem objek, yang dapat ditangani baik berdasarkan nama atau indeks.

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
Turunan
Atribut
Penerapan

Properti

Count
Kedaluwarsa.

Mendapatkan jumlah item dalam koleksi yang ditentukan.

Item[Int32]
Kedaluwarsa.

Mendapatkan item dari koleksi berdasarkan nilai indeksnya.

Item[String]
Kedaluwarsa.

Mendapatkan item dari koleksi berdasarkan namanya.

Metode

CreateItem(String, VsaItemType, VsaItemFlag)
Kedaluwarsa.

Membuat instans baru dari salah satu jenis, seperti yang IVsaItem didefinisikan dalam VsaItemType enumerasi.

GetEnumerator()
Kedaluwarsa.

Mengembalikan enumerator yang melakukan iterasi melalui koleksi.

(Diperoleh dari IEnumerable)
Remove(Int32)
Kedaluwarsa.

Menghapus item dari koleksi, seperti yang ditentukan oleh nilai indeksnya.

Remove(String)
Kedaluwarsa.

Menghapus item dari koleksi, seperti yang ditentukan oleh namanya.

Metode Ekstensi

Cast<TResult>(IEnumerable)
Kedaluwarsa.

Mentransmisikan elemen dari IEnumerable ke jenis yang ditentukan.

OfType<TResult>(IEnumerable)
Kedaluwarsa.

Memfilter elemen berdasarkan IEnumerable jenis tertentu.

AsQueryable(IEnumerable)
Kedaluwarsa.

Mengonversi menjadi IEnumerableIQueryable.

Berlaku untuk