IVsUIShell.GetAppName(String) Method

Definition

Returns the name of the application.

C++/WinRT
int GetAppName([Runtime::InteropServices::Out] std::wstring const & & pbstrAppName);

Parameters

pbstrAppName
String

[out] Pointer to the name of the application

Returns

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

Remarks

COM Signature

From vsshell.idl:

cpp#
HRESULT IVsUIShell::GetAppName(  
   [out] BSTR * pbstrAppName  
);  

Applies to

製品 バージョン
Visual Studio SDK 2015, 2017, 2019, 2022