VsaItems 类

定义

注意

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.

定义一个 VsaItem 对象集合,该集合可以按名称或索引对对象进行寻址。

public ref class VsaItems : Microsoft::Vsa::IVsaItems, System::Collections::IEnumerable
public class VsaItems : Microsoft.Vsa.IVsaItems, System.Collections.IEnumerable
[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 class VsaItems : Microsoft.Vsa.IVsaItems, System.Collections.IEnumerable
type VsaItems = class
    interface IVsaItems
    interface IEnumerable
[<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 VsaItems = class
    interface IVsaItems
    interface IEnumerable
Public Class VsaItems
Implements IEnumerable, IVsaItems
继承
VsaItems
属性
实现

构造函数

名称 说明
VsaItems(IVsaItems)
已过时.

定义一个 VsaItem 对象集合,该集合可以按名称或索引对对象进行寻址。

字段

名称 说明
m_ItemCollection
已过时.

定义一个 VsaItem 对象集合,该集合可以按名称或索引对对象进行寻址。

属性

名称 说明
Count
已过时.

获取指定集合中的项数。

Item[Int32]
已过时.

按集合的索引值获取项。

Item[String]
已过时.

按名称从集合中获取项。

方法

名称 说明
AddCodeItemWrapper(IVsaItem)
已过时.

定义一个 VsaItem 对象集合,该集合可以按名称或索引对对象进行寻址。

CreateItem(String, VsaItemType, VsaItemFlag)
已过时.

根据枚举中VsaItemFlag定义,创建其中一种VsaItemType类型的新实例。

Equals(Object)
已过时.

确定指定的对象是否等于当前对象。

(继承自 Object)
GetEnumerator()
已过时.

返回循环访问集合的枚举器。

GetHashCode()
已过时.

用作默认哈希函数。

(继承自 Object)
GetItemWrapper(IVsaItem)
已过时.

定义一个 VsaItem 对象集合,该集合可以按名称或索引对对象进行寻址。

GetType()
已过时.

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()
已过时.

创建当前 Object的浅表副本。

(继承自 Object)
Remove(Int32)
已过时.

从集合中删除项,由其索引值指定。

Remove(String)
已过时.

从集合中删除项,由其名称指定。

ToString()
已过时.

返回一个表示当前对象的字符串。

(继承自 Object)

扩展方法

名称 说明
AsQueryable(IEnumerable)
已过时.

IEnumerable 转换为 IQueryable

Cast<TResult>(IEnumerable)
已过时.

IEnumerable 的元素强制转换为指定类型。

OfType<TResult>(IEnumerable)
已过时.

根据指定类型筛选 IEnumerable 的元素。

适用于