ObjectExtenders.UnregisterExtenderProvider Method
Unregister a previously registered Extender Provider.
Namespace: EnvDTE
Assembly: EnvDTE (in EnvDTE.dll)
Syntax
'Declaration
Sub UnregisterExtenderProvider ( _
Cookie As Integer _
)
void UnregisterExtenderProvider(
int Cookie
)
void UnregisterExtenderProvider(
[InAttribute] int Cookie
)
abstract UnregisterExtenderProvider :
Cookie:int -> unit
function UnregisterExtenderProvider(
Cookie : int
)
Parameters
Cookie
Type: System.Int32Required. The cookie identifying the Extender. This is the cookie returned to the Extender Provider when it calls the RegisterExtenderProvider method.
Remarks
UnregisterExtenderProvider is used by an Extender Provider to dynamically unregister its Extenders. If the Extender is registered in the registry under the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Extenders registry key, then you should not call this method.
.NET Framework Security
- 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.