IProductCollection.Product(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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