IVsRegisterProjectDebugTargetProvider.AddDebugTargetProvider Method
Definition
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.
Adds a debug target provided to the linked list of debug target providers.
public:
int AddDebugTargetProvider(Microsoft::VisualStudio::Shell::Interop::IVsProjectDebugTargetProvider ^ pNewDbgTrgtProvider, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsProjectDebugTargetProvider ^ % ppNextDbgTrgtProvider);
public:
int AddDebugTargetProvider(Microsoft::VisualStudio::Shell::Interop::IVsProjectDebugTargetProvider ^ pNewDbgTrgtProvider, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsProjectDebugTargetProvider ^ & ppNextDbgTrgtProvider);
int AddDebugTargetProvider(Microsoft::VisualStudio::Shell::Interop::IVsProjectDebugTargetProvider const & pNewDbgTrgtProvider, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsProjectDebugTargetProvider const & & ppNextDbgTrgtProvider);
public int AddDebugTargetProvider (Microsoft.VisualStudio.Shell.Interop.IVsProjectDebugTargetProvider pNewDbgTrgtProvider, out Microsoft.VisualStudio.Shell.Interop.IVsProjectDebugTargetProvider ppNextDbgTrgtProvider);
abstract member AddDebugTargetProvider : Microsoft.VisualStudio.Shell.Interop.IVsProjectDebugTargetProvider * IVsProjectDebugTargetProvider -> int
Public Function AddDebugTargetProvider (pNewDbgTrgtProvider As IVsProjectDebugTargetProvider, ByRef ppNextDbgTrgtProvider As IVsProjectDebugTargetProvider) As Integer
Parameters
- pNewDbgTrgtProvider
- IVsProjectDebugTargetProvider
[in] The new debug target provider to be added.
- ppNextDbgTrgtProvider
- IVsProjectDebugTargetProvider
[out] The next debug target provider in the linked list.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
[C++]
HRESULT IVsRegisterProjectDebugTargetProvider::AddDebugTargetProvider(
[in] IVsProjectDebugTargetProvider *pNewDbgTrgtProvider,
[out] IVsProjectDebugTargetProvider **ppNextDbgTrgtProvider
);