Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Given the GUID of a debugging engine, returns the name of the engine. Use this method with EnumDebugEngines to retrieve the names of all active debugging engines.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function GetEngineName ( _
ByRef guidEngine As Guid, _
<OutAttribute> ByRef pbstrName As String _
) As Integer
int GetEngineName(
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(
guidEngine : Guid,
pbstrName : String
) : int
Parameters
guidEngine
Type: System.Guid%[in] The GUID of the debugging engine.
pbstrName
Type: System.String%[out] A string containing the name of the debugging engine.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT IVsDebugger2::GetEngineName(
[in] REFGUID guidEngine,
[out] BSTR *pbstrName
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.