Udostępnij za pośrednictwem


Metoda IVsDebugger2.GetEngineName — (Guid, String)

 

Podany identyfikator GUID aparatu debugowania zwraca nazwę aparatu. Ta metoda z EnumDebugEngines pobrać nazwy wszystkich aktywnych aparatów debugowania.

Przestrzeń nazw:   Microsoft.VisualStudio.Shell.Interop
Zestaw:  Microsoft.VisualStudio.Shell.Interop.8.0 (w Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Składnia

int GetEngineName(
    [InAttribute] ref Guid guidEngine,
    out string pbstrName
)
int GetEngineName(
    [InAttribute] Guid% guidEngine,
    [OutAttribute] String^% pbstrName
)
abstract GetEngineName : 
        guidEngine:Guid byref *
        pbstrName:string byref -> int
Function GetEngineName (
    <InAttribute> ByRef guidEngine As Guid,
    <OutAttribute> ByRef pbstrName As String
) As Integer

Parametry

  • guidEngine
    Type: System.Guid

    [in] Identyfikator GUID aparatu debugowania.

  • pbstrName
    Type: System.String

    [out] Ciąg zawierający nazwę aparatu debugowania.

Wartość zwracana

Type: System.Int32

Jeśli metoda zakończy się pomyślnie, zwraca S_OK. Jeśli nie, zwraca kod błędu.

Uwagi

Podpis COM

Z vsshell80.idl:

HRESULT IVsDebugger2::GetEngineName(
   [in] REFGUID guidEngine,
   [out] BSTR *pbstrName
);

Zobacz też

Interfejs IVsDebugger2
Przestrzeń nazw Microsoft.VisualStudio.Shell.Interop

Powrót do początku