IProductCollection Interface

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

Represents a collection of Product objects.

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.

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

Syntax

'Declaration
<ComVisibleAttribute(True)> _
<GuidAttribute("63F63663-8503-4875-814C-09168E595367")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsDual)> _
Public Interface IProductCollection
[ComVisibleAttribute(true)]
[GuidAttribute("63F63663-8503-4875-814C-09168E595367")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsDual)]
public interface IProductCollection
[ComVisibleAttribute(true)]
[GuidAttribute(L"63F63663-8503-4875-814C-09168E595367")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsDual)]
public interface class IProductCollection
[<ComVisibleAttribute(true)>]
[<GuidAttribute("63F63663-8503-4875-814C-09168E595367")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsDual)>]
type IProductCollection =  interface end
public interface IProductCollection

The IProductCollection type exposes the following members.

Properties

  Name Description
Public property Count Infrastructure. Gets the number of elements that are 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 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.
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.

Top

Remarks

This interface represents a collection of Product objects. The 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.

See Also

Reference

Microsoft.Build.Tasks.Deployment.Bootstrapper Namespace