Sdílet prostřednictvím


IProductCollection.Product(String) Method

Definition

Gets the product with the specified product code

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

public:
 Microsoft::Build::Tasks::Deployment::Bootstrapper::Product ^ Product(System::String ^ productCode);
public Microsoft.Build.Tasks.Deployment.Bootstrapper.Product Product (string productCode);
abstract member Product : string -> Microsoft.Build.Tasks.Deployment.Bootstrapper.Product
Public Function Product (productCode As String) As Product

Parameters

productCode
String

Returns

The product with the given name, null if the spercified product code is not found

Applies to