Share via


IVsUIShell.GetAppName(String) Method

Definition

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  
);  

Applies to