ProvideCommandLineSwitchAttribute.Unregister Method

Unregisters a command-line switch.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)

Syntax

'Declaration
Public Overrides Sub Unregister ( _
    context As RegistrationAttribute.RegistrationContext _
)
public override void Unregister(
    RegistrationAttribute.RegistrationContext context
)
public:
virtual void Unregister(
    RegistrationAttribute::RegistrationContext^ context
) override
abstract Unregister : 
        context:RegistrationAttribute.RegistrationContext -> unit  
override Unregister : 
        context:RegistrationAttribute.RegistrationContext -> unit
public override function Unregister(
    context : RegistrationAttribute.RegistrationContext
)

Parameters

Remarks

The context key for the command-line switch is removed when the switch is unregistered.

.NET Framework Security

See Also

Reference

ProvideCommandLineSwitchAttribute Class

Microsoft.VisualStudio.Modeling.Shell Namespace