Share via


IVsRegisterProjectDebugTargetProvider.RemoveDebugTargetProvider Method

Removes the specified debug target provider from 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 RemoveDebugTargetProvider ( _
    pDbgTrgtProvider As IVsProjectDebugTargetProvider _
) As Integer
int RemoveDebugTargetProvider(
    IVsProjectDebugTargetProvider pDbgTrgtProvider
)
int RemoveDebugTargetProvider(
    [InAttribute] IVsProjectDebugTargetProvider^ pDbgTrgtProvider
)
abstract RemoveDebugTargetProvider : 
        pDbgTrgtProvider:IVsProjectDebugTargetProvider -> int
function RemoveDebugTargetProvider(
    pDbgTrgtProvider : IVsProjectDebugTargetProvider
) : int

Parameters

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:

[C++]

HRESULT IVsRegisterProjectDebugTargetProvider::RemoveDebugTargetProvider(
   [in] IVsProjectDebugTargetProvider *pDbgTrgtProvider
   );

.NET Framework Security

See Also

Reference

IVsRegisterProjectDebugTargetProvider Interface

Microsoft.VisualStudio.Shell.Interop Namespace