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
- 派生
- 属性
- 实现
属性
| 名称 | 说明 |
|---|---|
| Count |
已过时.
获取指定集合中的项数。 |
| Item[Int32] |
已过时.
按集合的索引值获取项。 |
| Item[String] |
已过时.
按名称从集合中获取项。 |
方法
| 名称 | 说明 |
|---|---|
| CreateItem(String, VsaItemType, VsaItemFlag) |
已过时.
根据枚举中VsaItemType定义,创建其中一种IVsaItem类型的新实例。 |
| GetEnumerator() |
已过时.
返回循环访问集合的枚举器。 (继承自 IEnumerable) |
| Remove(Int32) |
已过时.
从集合中删除项,由其索引值指定。 |
| Remove(String) |
已过时.
从集合中删除项,由其名称指定。 |
扩展方法
| 名称 | 说明 |
|---|---|
| AsQueryable(IEnumerable) |
已过时.
将 IEnumerable 转换为 IQueryable。 |
| Cast<TResult>(IEnumerable) |
已过时.
将 IEnumerable 的元素强制转换为指定类型。 |
| OfType<TResult>(IEnumerable) |
已过时.
根据指定类型筛选 IEnumerable 的元素。 |