Partager via


Product.ProductCode Property

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

Gets a string that indicates the unique product identifier of this product.

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
Public ReadOnly Property ProductCode As String
public string ProductCode { get; }
public:
virtual property String^ ProductCode {
    String^ get () sealed;
}
abstract ProductCode : string with get 
override ProductCode : string with get
final function get ProductCode () : String

Property Value

Type: System.String
A string that indicates the unique product identifier of this product.

Implements

IProduct.ProductCode

.NET Framework Security

See Also

Reference

Product Class

Microsoft.Build.Tasks.Deployment.Bootstrapper Namespace