In This Article

IPackageReferenceCollection Interface

Provides the base requirements for a collection of IPackageReference objects.

public interface IPackageReferenceCollection : IObservableCollection<IPackageReference>, IList<IPackageReference>, ICollection<IPackageReference>, IEnumerable<IPackageReference>, IEnumerable

Properties

Item[String]

Gets the IPackageReference with the specified name.

[C#] In C#, this property is the indexer for the IPackageReferenceCollection interface.

IPackageReference this[string name] { get; }
Parameter Type Description
name System.String

The name of the IPackageReference to return.

Property Value

IPackageReference:

The IPackageReference with the specified name.

Inherited Members

Extension Methods