Partilhar via


FileReferenceCollection Class

Definition

Provides a collection for manifest file references.

public ref class FileReferenceCollection sealed : System::Collections::IEnumerable
[System.Runtime.InteropServices.ComVisible(false)]
public sealed class FileReferenceCollection : System.Collections.IEnumerable
[<System.Runtime.InteropServices.ComVisible(false)>]
type FileReferenceCollection = class
    interface IEnumerable
Public NotInheritable Class FileReferenceCollection
Implements IEnumerable
Inheritance
FileReferenceCollection
Attributes
Implements

Properties

Count

Gets the number of objects contained in the collection.

Item[Int32]

Gets the element at the specified index.

Methods

Add(FileReference)

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.

FindTargetPath(String)

Finds a file reference in the collection by the specified target path.

GetEnumerator()

Returns an enumerator that can iterate through the collection.

Remove(FileReference)

Removes the specified file reference from the collection.

Applies to