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)

명령줄 스위치 등록 취소

적용 대상