IVsaItems 接口
注意:此 API 现在已过时。
定义 IVsaItem 对象集合的接口,可通过名称或索引对其进行定位。
命名空间: Microsoft.Vsa
程序集: Microsoft.Vsa(在 Microsoft.Vsa.dll 中)
语法
声明
<GuidAttribute("0AB1EB6A-12BD-44d0-B941-0580ADFC73DE")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<ObsoleteAttribute("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 _
Inherits IEnumerable
[GuidAttribute("0AB1EB6A-12BD-44d0-B941-0580ADFC73DE")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[ObsoleteAttribute("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 : IEnumerable
[GuidAttribute(L"0AB1EB6A-12BD-44d0-B941-0580ADFC73DE")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[ObsoleteAttribute(L"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 class IVsaItems : IEnumerable
[<GuidAttribute("0AB1EB6A-12BD-44d0-B941-0580ADFC73DE")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<ObsoleteAttribute("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
end
public interface IVsaItems extends IEnumerable
IVsaItems 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
Count | 获取指定集合的项数。 | |
Item[Int32] | 通过项的索引值从集合中获取项。 | |
Item[String] | 通过项的名称从集合中获取项。 |
页首
方法
名称 | 说明 | |
---|---|---|
CreateItem | 按照 VsaItemType 枚举中的定义,创建其中一个IVsaItem 类型的新实例。 | |
GetEnumerator | 返回循环访问集合的枚举数。 (继承自 IEnumerable。) | |
Remove(Int32) | 从集合中移除按照项的索引值指定的项。 | |
Remove(String) | 从集合中移除按照项的名称指定的项。 |
页首