Share via


ObjectExtenders.UnregisterExtenderProvider(Int32) Method

Definition

Unregister a previously registered Extender Provider.

public:
 void UnregisterExtenderProvider(int Cookie);
public:
 void UnregisterExtenderProvider(int Cookie);
void UnregisterExtenderProvider(int Cookie);
[System.Runtime.InteropServices.DispId(4)]
public void UnregisterExtenderProvider (int Cookie);
[<System.Runtime.InteropServices.DispId(4)>]
abstract member UnregisterExtenderProvider : int -> unit
Public Sub UnregisterExtenderProvider (Cookie As Integer)

Parameters

Cookie
Int32

Required. The cookie identifying the Extender. This is the cookie returned to the Extender Provider when it calls the RegisterExtenderProvider(String, String, IExtenderProvider, String) method.

Attributes

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\<version number>\Extenders registry key, then you should not call this method.

Applies to