Share via


IProductCollection.Count Property

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

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.

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

Syntax

'Declaration
ReadOnly Property Count As Integer
int Count { get; }
property int Count {
    int get ();
}
abstract Count : int with get
function get Count () : int

Property Value

Type: System.Int32
The number of elements that are contained in the product collection.

.NET Framework Security

See Also

Reference

IProductCollection Interface

Microsoft.Build.Tasks.Deployment.Bootstrapper Namespace