ProvideCommandLineSwitchAttribute.Unregister Method

Unregisters a command-line switch.

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

Syntax

'宣言
Public Overrides Sub Unregister ( _
    context As RegistrationAttribute..::.RegistrationContext _
)
'使用
Dim instance As ProvideCommandLineSwitchAttribute
Dim context As RegistrationAttribute..::.RegistrationContext

instance.Unregister(context)
public override void Unregister(
    RegistrationAttribute..::.RegistrationContext context
)
public:
virtual void Unregister(
    RegistrationAttribute..::.RegistrationContext^ context
) override
public override function Unregister(
    context : RegistrationAttribute..::.RegistrationContext
)

Parameters

Remarks

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

Permissions

See Also

Reference

ProvideCommandLineSwitchAttribute Class

ProvideCommandLineSwitchAttribute Members

Microsoft.VisualStudio.Modeling.Shell Namespace