IVsToolbox.UnregisterDataProvider Method

Unregisters the specified data provider.

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


Function UnregisterDataProvider ( _
    dwProvider As UInteger _
) As Integer
‘사용 방법
Dim instance As IVsToolbox
Dim dwProvider As UInteger
Dim returnValue As Integer

returnValue = instance.UnregisterDataProvider(dwProvider)
int UnregisterDataProvider(
    uint dwProvider
int UnregisterDataProvider(
    [InAttribute] unsigned int dwProvider
abstract UnregisterDataProvider : 
        dwProvider:uint32 -> int 
function UnregisterDataProvider(
    dwProvider : uint
) : int


  • 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.


COM Signature

From vsshell.idl:

HRESULT IVsToolbox::UnregisterDataProvider(
   [in]VSCOOKIE dwProvider

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

.NET Framework Security

See Also


IVsToolbox Interface

IVsToolbox Members

Microsoft.VisualStudio.Shell.Interop Namespace