AssemblyReferenceCollection AssemblyReferenceCollection AssemblyReferenceCollection AssemblyReferenceCollection Class

定义

提供清单程序集引用的集合。Provides a collection for manifest assembly references.

public ref class AssemblyReferenceCollection sealed : System::Collections::IEnumerable
[System.Runtime.InteropServices.ComVisible(false)]
public sealed class AssemblyReferenceCollection : System.Collections.IEnumerable
type AssemblyReferenceCollection = class
    interface IEnumerable
Public NotInheritable Class AssemblyReferenceCollection
Implements IEnumerable
继承
AssemblyReferenceCollectionAssemblyReferenceCollectionAssemblyReferenceCollectionAssemblyReferenceCollection
属性
实现

属性

Count Count Count Count

获取集合中包含的对象数。Gets the number of objects contained in the collection.

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

获取指定索引处的元素。Gets the element at the specified index.

方法

Add(AssemblyReference) Add(AssemblyReference) Add(AssemblyReference) Add(AssemblyReference)

将指定的程序集引用添加到集合。Adds the specified assembly reference to the collection.

Add(String) Add(String) Add(String) Add(String)

将指定的程序集引用添加到集合。Adds the specified assembly reference to the collection.

Clear() Clear() Clear() Clear()

从集合中删除所有对象。Removes all objects from the collection.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(Inherited from Object)
Find(AssemblyIdentity) Find(AssemblyIdentity) Find(AssemblyIdentity) Find(AssemblyIdentity)

根据指定的程序集标识在集合中查找程序集引用。Finds an assembly reference in the collection by the specified assembly identity.

Find(String) Find(String) Find(String) Find(String)

根据简单名称在集合中查找程序集引用。Finds an assembly reference in the collection by simple name.

FindTargetPath(String) FindTargetPath(String) FindTargetPath(String) FindTargetPath(String)

按指定目标路径在集合中查找程序集引用。Finds an assembly reference in the collection by the specified target path.

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

返回可循环访问集合的枚举数。Returns an enumerator that can iterate through the collection.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
Remove(AssemblyReference) Remove(AssemblyReference) Remove(AssemblyReference) Remove(AssemblyReference)

从集合中移除指定的程序集引用。Removes the specified assembly reference from the collection.

ToString() ToString() ToString() ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)

扩展方法

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.

适用于