Aracılığıyla paylaş


IVsUIShell.GetAppName Yöntem (String)

 

Uygulamanın adını döndürür.

Ad Alanı:   Microsoft.VisualStudio.Shell.Interop
Derleme:  Microsoft.VisualStudio.Shell.Interop (Microsoft.VisualStudio.Shell.Interop.dll içinde)

Sözdizimi

int GetAppName(
    out string pbstrAppName
)
int GetAppName(
    [OutAttribute] String^% pbstrAppName
)
abstract GetAppName : 
        pbstrAppName:string byref -> int
Function GetAppName (
    <OutAttribute> ByRef pbstrAppName As String
) As Integer

Parametreler

  • pbstrAppName
    Type: System.String

    [out] Uygulamanın adını işaretçisi

Dönüş Değeri

Type: System.Int32

Yöntem başarılı olursa, döndürür S_OK. Başarısız olursa, bir hata kodu döndürür.

Notlar

COM imza

Vsshell.idl:

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

Ayrıca bkz.

IVsUIShell Arabirim
Microsoft.VisualStudio.Shell.Interop Ad Alanı

Başa dön