![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
Deployment Tools Foundation
GetTargetProductCodes Method
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller.Package ► PatchPackage ► GetTargetProductCodes()()()()
Gets the list of product codes of products targeted by this patch package.
![](collapse_all.gif)
C# | Visual Basic | Visual C++ | F# |
public string[] GetTargetProductCodes()
Public Function GetTargetProductCodes As String()
public: array<String^>^ GetTargetProductCodes()
member GetTargetProductCodes : unit -> string[]
![](collapse_all.gif)
![](collapse_all.gif)
The list of target product codes is stored in the Template field of the patch summary information.
Assembly: Microsoft.Deployment.WindowsInstaller.Package (Module: Microsoft.Deployment.WindowsInstaller.Package.dll) Version: 3.0.0.0 (3.11.1.2318)