ProductCollection Class

Definition

This class contains a collection of Product objects. This collection is a closed set that is generated by the BootstrapperBuilder based on the Path property. The client cannot add or remove items from this collection.

This API supports the product infrastructure and is not intended to be used directly from your code.

public ref class ProductCollection : Microsoft::Build::Tasks::Deployment::Bootstrapper::IProductCollection, System::Collections::IEnumerable
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("EFFA164B-3E87-4195-88DB-8AC004DDFE2A")]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
public class ProductCollection : Microsoft.Build.Tasks.Deployment.Bootstrapper.IProductCollection, System.Collections.IEnumerable
type ProductCollection = class
    interface IProductCollection
    interface IEnumerable
Public Class ProductCollection
Implements IEnumerable, IProductCollection
Inheritance
ProductCollection
Attributes
Implements

Properties

Count

Gets the number of elements actually contained in the ProductCollection

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetEnumerator()

Returns an enumerator that can iterate through the ProductCollection

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
Item(Int32)

Gets the Product at the specified index.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Product(String)

Gets the product with the specified product code

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Extension Methods

Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to