次の方法で共有


ProvideMenuResourceAttribute.Unregister Method

Definition

Called to unregister this attribute with the given context.

public:
 override void Unregister(Microsoft::VisualStudio::Shell::RegistrationAttribute::RegistrationContext ^ context);
 override void Unregister(Microsoft::VisualStudio::Shell::RegistrationAttribute::RegistrationContext const & context);
public override void Unregister (Microsoft.VisualStudio.Shell.RegistrationAttribute.RegistrationContext context);
override this.Unregister : Microsoft.VisualStudio.Shell.RegistrationAttribute.RegistrationContext -> unit
Public Overrides Sub Unregister (context As RegistrationAttribute.RegistrationContext)

Parameters

context
RegistrationAttribute.RegistrationContext

Contains the location where the registration information should be placed. It also contains other informations as the type being registered and path information.

Remarks

VSPackages implementing ProvideMenuResourceAttribute need to override Unregister, but do not need to invoke it.

Applies to