Share via


ProvideCommandLineSwitchAttribute クラス

定義

重要

この API は CLS 準拠ではありません。

コマンド ライン スイッチを提供するためのレジストリ エントリを提供する属性クラス

public ref class ProvideCommandLineSwitchAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
[System.CLSCompliant(false)]
public sealed class ProvideCommandLineSwitchAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
public sealed class ProvideCommandLineSwitchAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
[<System.CLSCompliant(false)>]
type ProvideCommandLineSwitchAttribute = class
    inherit RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
type ProvideCommandLineSwitchAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class ProvideCommandLineSwitchAttribute
Inherits RegistrationAttribute
継承
ProvideCommandLineSwitchAttribute
属性

コンストラクター

ProvideCommandLineSwitchAttribute(String, String)

新しい ProvideCommandLineSwitch 属性をCreateする

プロパティ

Arguments

コマンド ライン スイッチの引数の数

DemandLoad

コマンド ライン スイッチがデマン読み込みを引き起こす必要があるかどうか

HelpText

コマンド ライン スイッチのヘルプ文字列

Name

コマンド ライン スイッチの名前

TypeId

RegistrationAttribute 派生クラスが System.ComponentModel.TypeDescriptor.GetAttributes(...) と連携できるように、TypeID プロパティをオーバーライドします。このプロパティから派生した属性は、クラスに適用できるインスタンスをより適切に制御する必要がある場合にのみ、このプロパティをオーバーライドする必要があります。

(継承元 RegistrationAttribute)

メソッド

GetPackageRegKeyPath(Guid)

VSPackage のレジストリ パス (アプリケーションのレジストリ ルートに対する相対パス) を取得します。

(継承元 RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

新しいコマンド ライン スイッチを登録する

Unregister(RegistrationAttribute+RegistrationContext)

コマンド ライン スイッチの登録を解除する

適用対象