IVsUIShell.GetAppName(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.
Returns the name of the application.
public:
int GetAppName([Runtime::InteropServices::Out] System::String ^ % pbstrAppName);
int GetAppName([Runtime::InteropServices::Out] std::wstring const & & pbstrAppName);
public int GetAppName (out string pbstrAppName);
abstract member GetAppName : string -> int
Public Function GetAppName (ByRef pbstrAppName As String) As Integer
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:
HRESULT IVsUIShell::GetAppName(
[out] BSTR * pbstrAppName
);