ProductCollection Class

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

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

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Inheritance Hierarchy

System.Object
  Microsoft.Build.Tasks.Deployment.Bootstrapper.ProductCollection

Namespace:  Microsoft.Build.Tasks.Deployment.Bootstrapper
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
<ComVisibleAttribute(True)> _
<GuidAttribute("EFFA164B-3E87-4195-88DB-8AC004DDFE2A")> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
Public Class ProductCollection _
    Implements IProductCollection, IEnumerable
[ComVisibleAttribute(true)]
[GuidAttribute("EFFA164B-3E87-4195-88DB-8AC004DDFE2A")]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
public class ProductCollection : IProductCollection, 
    IEnumerable
[ComVisibleAttribute(true)]
[GuidAttribute(L"EFFA164B-3E87-4195-88DB-8AC004DDFE2A")]
[ClassInterfaceAttribute(ClassInterfaceType::None)]
public ref class ProductCollection : IProductCollection, 
    IEnumerable
[<ComVisibleAttribute(true)>]
[<GuidAttribute("EFFA164B-3E87-4195-88DB-8AC004DDFE2A")>]
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
type ProductCollection =  
    class 
        interface IProductCollection 
        interface IEnumerable 
    end
public class ProductCollection implements IProductCollection, IEnumerable

The ProductCollection type exposes the following members.

Properties

  Name Description
Public property Count Infrastructure. Gets the number of elements contained in the product collection.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Infrastructure. Returns an enumerator that can iterate through the product collection.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Item Infrastructure. Retrieves the product at the specified index.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Protected method MemberwiseClone (Inherited from Object.)
Public method Product Infrastructure. Retrieves the product with the specified product code.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Build.Tasks.Deployment.Bootstrapper Namespace