Dela via


IVsRegisterProjectDebugTargetProvider.AddDebugTargetProvider Method

Adds a debug target provided to the linked list of debug target providers.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function AddDebugTargetProvider ( _
    pNewDbgTrgtProvider As IVsProjectDebugTargetProvider, _
    <OutAttribute> ByRef ppNextDbgTrgtProvider As IVsProjectDebugTargetProvider _
) As Integer
int AddDebugTargetProvider(
    IVsProjectDebugTargetProvider pNewDbgTrgtProvider,
    out IVsProjectDebugTargetProvider ppNextDbgTrgtProvider
)
int AddDebugTargetProvider(
    [InAttribute] IVsProjectDebugTargetProvider^ pNewDbgTrgtProvider, 
    [OutAttribute] IVsProjectDebugTargetProvider^% ppNextDbgTrgtProvider
)
abstract AddDebugTargetProvider : 
        pNewDbgTrgtProvider:IVsProjectDebugTargetProvider * 
        ppNextDbgTrgtProvider:IVsProjectDebugTargetProvider byref -> int
function AddDebugTargetProvider(
    pNewDbgTrgtProvider : IVsProjectDebugTargetProvider, 
    ppNextDbgTrgtProvider : IVsProjectDebugTargetProvider
) : int

Parameters

Return Value

Type: Int32
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

);

.NET Framework Security

See Also

Reference

IVsRegisterProjectDebugTargetProvider Interface

Microsoft.VisualStudio.Shell.Interop Namespace