IVsUIShell.GetAppName(String) Method
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);
C++/WinRT
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
- pbstrAppName
- String
[out] Pointer to the name of the application
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
cpp#
HRESULT IVsUIShell::GetAppName(
[out] BSTR * pbstrAppName
);
製品 | バージョン |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |