Dela via


IVsToolboxDataProviderRegistry.UnregisterDataProvider Method

Unregisters the Toolbox data provider.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.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: UInt32

    [in] Cookie identifying the Toolbox data provider to unregister.

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:

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

.NET Framework Security

See Also

Reference

IVsToolboxDataProviderRegistry Interface

Microsoft.VisualStudio.Shell.Interop Namespace