IVsaItems 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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
- 衍生
- 屬性
- 實作
屬性
| 名稱 | Description |
|---|---|
| Count |
已淘汰.
取得指定集合中的項目數量。 |
| Item[Int32] |
已淘汰.
從集合中依索引值取得項目。 |
| Item[String] |
已淘汰.
從收藏中以名稱獲得物品。 |
方法
| 名稱 | Description |
|---|---|
| CreateItem(String, VsaItemType, VsaItemFlag) |
已淘汰.
建立列舉中定義IVsaItem的某一VsaItemType型態的新實例。 |
| GetEnumerator() |
已淘汰.
傳回逐一查看集合的列舉值。 (繼承來源 IEnumerable) |
| Remove(Int32) |
已淘汰.
根據集合的索引值指定,移除一個項目。 |
| Remove(String) |
已淘汰.
從集合中移除一個項目,根據其名稱所指定的。 |
擴充方法
| 名稱 | Description |
|---|---|
| AsQueryable(IEnumerable) |
已淘汰.
將 IEnumerable 轉換成 IQueryable。 |
| Cast<TResult>(IEnumerable) |
已淘汰.
將 IEnumerable 的項目轉換成指定的型別。 |
| OfType<TResult>(IEnumerable) |
已淘汰.
根據指定的型別篩選 IEnumerable 的專案。 |