IVsInstalledProduct::ProductID Method (String^)
Visual Studio 2015
Obtains a pointer to the string containing the ID of the product that is displayed in the About dialog box on the Help menu. Not called for the splash screen.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pbstrPID
-
Type:
System::String^
[out] Pointer to the string that identifies the product ID.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsInstalledProduct::ProductID( [out, retval] BSTR *pbstrPID );
IVsInstalledProduct.ProductID gets the number that is displayed in the Installed Products section of About dialog box. Generally, this method is used to show a product identifier that the customer can use when communicating with the client's product support services.
You can place the hard-coded paths and strings used by this method in your project's resource file.
Show: