IJSVsaItems IJSVsaItems IJSVsaItems IJSVsaItems Interface

定义

警告

此 API 现已过时。

定义 IJSVsaItem 对象集合的接口,可通过名称或索引对其进行定位。Defines an interface for a collection of IJSVsaItem objects, which can be addressed either by name or by index.

public interface class IJSVsaItems : 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.")]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("172341E0-9B0D-43E6-9EFF-75E030A46461")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IJSVsaItems : System.Collections.IEnumerable
type IJSVsaItems = interface
    interface IEnumerable
Public Interface IJSVsaItems
Implements IEnumerable
派生
属性
实现

属性

Count Count Count Count

获取指定集合的项数。Gets the number of items in the specified collection.

Item[Int32] Item[Int32] Item[Int32] Item[Int32]

通过项的索引值从集合中获取项。Gets an item from the collection by its index value.

Item[String] Item[String] Item[String] Item[String]

通过项的名称从集合中获取项。Gets an item from the collection by its name.

方法

CreateItem(String, JSVsaItemType, JSVsaItemFlag) CreateItem(String, JSVsaItemType, JSVsaItemFlag) CreateItem(String, JSVsaItemType, JSVsaItemFlag) CreateItem(String, JSVsaItemType, JSVsaItemFlag)

按照 JSVsaItemType 枚举中的定义,创建其中一个IJSVsaItem 类型的新实例。Creates a new instance of one of the IJSVsaItem types, as defined in the JSVsaItemType enumeration.

GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

返回循环访问集合的枚举数。Returns an enumerator that iterates through a collection.

(Inherited from IEnumerable)
Remove(Int32) Remove(Int32) Remove(Int32) Remove(Int32)

从集合中移除按照项的索引值指定的项。Removes an item from the collection, as specified by its index value.

Remove(String) Remove(String) Remove(String) Remove(String)

从集合中移除按照项的名称指定的项。Removes an item from the collection, as specified by its name.

扩展方法

Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

IEnumerable 的元素强制转换为指定的类型。Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

根据指定类型筛选 IEnumerable 的元素。Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

启用查询的并行化。Enables parallelization of a query.

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

IEnumerable 转换为 IQueryableConverts an IEnumerable to an IQueryable.

适用于