Share via


IVsToolbox2.UnregisterDataProvider Method

Unregisters the specified data provider.

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

Syntax

'Declaration
Function UnregisterDataProvider ( _
    dwProvider As UInteger _
) As Integer
int UnregisterDataProvider(
    uint dwProvider
)
int UnregisterDataProvider(
    [InAttribute] unsigned int dwProvider
)
abstract UnregisterDataProvider : 
        dwProvider:uint32 -> int 
function UnregisterDataProvider(
    dwProvider : uint
) : int

Parameters

  • dwProvider
    Type: System.UInt32
    [in] Cookie identifying the data provider to unregister.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsToolbox.UnregisterDataProvider(UInt32)

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsToolbox2::UnregisterDataProvider(
   [in]VSCOOKIE dwProvider
);

The value of dwProvider is the value returned in a call to RegisterDataProvider.

.NET Framework Security

See Also

Reference

IVsToolbox2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace