IVsUIShell::GetAppName Method (String^)

 

Returns the name of the application.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int GetAppName(
	[OutAttribute] String^% pbstrAppName
)

Parameters

pbstrAppName
Type: System::String^

[out] Pointer to the name of the application

Return Value

Type: System::Int32

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

From vsshell.idl:

HRESULT IVsUIShell::GetAppName(
   [out] BSTR * pbstrAppName
);
Return to top
Show: