IVsToolbox.UnregisterDataProvider Method
Unregisters the specified data provider.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaración
Function UnregisterDataProvider ( _
dwProvider As UInteger _
) As Integer
'Uso
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
)
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.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsToolbox::UnregisterDataProvider(
[in]VSCOOKIE dwProvider
);
The value of dwProvider is the value returned in a call to RegisterDataProvider.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.