Compartilhar via


AssemblyReferenceCollection Class

Definition

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
[<System.Runtime.InteropServices.ComVisible(false)>]
type AssemblyReferenceCollection = class
    interface IEnumerable
Public NotInheritable Class AssemblyReferenceCollection
Implements IEnumerable
Inheritance
AssemblyReferenceCollection
Attributes
Implements

Properties

Count

Gets the number of objects contained in the collection.

Item[Int32]

Gets the element at the specified index.

Methods

Add(AssemblyReference)

Adds the specified assembly reference to the collection.

Add(String)

Adds the specified assembly reference to the collection.

Clear()

Removes all objects from the collection.

Find(AssemblyIdentity)

Finds an assembly reference in the collection by the specified assembly identity.

Find(String)

Finds an assembly reference in the collection by simple name.

FindTargetPath(String)

Finds an assembly reference in the collection by the specified target path.

GetEnumerator()

Returns an enumerator that can iterate through the collection.

Remove(AssemblyReference)

Removes the specified assembly reference from the collection.

Applies to