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

Properties

Count

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

Gets the number of elements actually contained in the ProductCollection

Methods

GetEnumerator()

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

Returns an enumerator that can iterate through the ProductCollection

Item(Int32)

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

Gets the Product at the specified index.

Product(String)

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

Gets the product with the specified product code

Applies to