Share via


IVsInstalledProduct.OfficialName(String) Method

Definition

Obtains a pointer to the string containing the official name of the product that is displayed in the splash screen and About dialog box on the Help menu.

public:
 int OfficialName([Runtime::InteropServices::Out] System::String ^ % pbstrName);
int OfficialName([Runtime::InteropServices::Out] std::wstring const & & pbstrName);
public int OfficialName (out string pbstrName);
abstract member OfficialName : string -> int
Public Function OfficialName (ByRef pbstrName As String) As Integer

Parameters

pbstrName
String

[out] Pointer to the string to be displayed in the splash screen and About dialog box.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Examples

You can place the hard-coded paths and strings used by this method in your project's resource file.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsInstalledProduct::OfficialName(  
   [out, retval] BSTR *pbstrName  
);  

IVsInstalledProduct.OfficialName is used to display the product name shown in the splash screen and About dialog box. If you only want to provide information in the About dialog box and do not want to support the splash screen then do not implement IVsInstalledProduct. Information can be added to the About dialog box alone using the registry.

Applies to