IVsaItems 介面

定義

警告

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.

定義 IVsaItem 物件集合的介面,可依名稱或索引來定址這些物件。

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
衍生
屬性
實作

屬性

Count
已淘汰.

取得指定集合中的項目數。

Item[Int32]
已淘汰.

依索引值從集合中取得項目。

Item[String]
已淘汰.

依名稱從集合中取得項目。

方法

CreateItem(String, VsaItemType, VsaItemFlag)
已淘汰.

依照 IVsaItem 列舉中所定義,建立其中一個 VsaItemType 類型的新執行個體。

GetEnumerator()
已淘汰.

傳回逐一查看集合的列舉值。

(繼承來源 IEnumerable)
Remove(Int32)
已淘汰.

依照索引值所指定,從集合中移除項目。

Remove(String)
已淘汰.

依照名稱所指定,從集合中移除項目。

擴充方法

Cast<TResult>(IEnumerable)
已淘汰.

IEnumerable 的項目轉換成指定的型別。

OfType<TResult>(IEnumerable)
已淘汰.

根據指定的型別來篩選 IEnumerable 的項目。

AsQueryable(IEnumerable)
已淘汰.

IEnumerable 轉換成 IQueryable

適用於