다음을 통해 공유


CommandSetRegistrationAttribute 클래스

정의

클래스를 CommandSet으로 선언하고 명령 집합에 대한 이름 및 연결된 서비스 브로커 서비스를 지정합니다. 명령 집합은 명령을 와 함께 ProvideCommandAttribute제공할 수 있습니다.

public ref class CommandSetRegistrationAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public sealed class CommandSetRegistrationAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
type CommandSetRegistrationAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class CommandSetRegistrationAttribute
Inherits RegistrationAttribute
상속
CommandSetRegistrationAttribute

생성자

CommandSetRegistrationAttribute(String, String, String)

클래스를 CommandSet으로 선언하고 명령 집합에 대한 이름 및 연결된 서비스 브로커 서비스를 지정합니다. 명령 집합은 명령을 와 함께 ProvideCommandAttribute제공할 수 있습니다.

CommandSetRegistrationAttribute(String, String, String, String)

클래스를 CommandSet으로 선언하고 명령 집합에 대한 이름 및 연결된 서비스 브로커 서비스를 지정합니다. 명령 집합은 명령을 와 함께 ProvideCommandAttribute제공할 수 있습니다.

속성

Name

클래스를 CommandSet으로 선언하고 명령 집합에 대한 이름 및 연결된 서비스 브로커 서비스를 지정합니다. 명령 집합은 명령을 와 함께 ProvideCommandAttribute제공할 수 있습니다.

ServiceName

클래스를 CommandSet으로 선언하고 명령 집합에 대한 이름 및 연결된 서비스 브로커 서비스를 지정합니다. 명령 집합은 명령을 와 함께 ProvideCommandAttribute제공할 수 있습니다.

ServiceVersion

클래스를 CommandSet으로 선언하고 명령 집합에 대한 이름 및 연결된 서비스 브로커 서비스를 지정합니다. 명령 집합은 명령을 와 함께 ProvideCommandAttribute제공할 수 있습니다.

SupportedScope

클래스를 CommandSet으로 선언하고 명령 집합에 대한 이름 및 연결된 서비스 브로커 서비스를 지정합니다. 명령 집합은 명령을 와 함께 ProvideCommandAttribute제공할 수 있습니다.

TypeId

RegistrationAttribute 파생 클래스가 System.ComponentModel.TypeDescriptor.GetAttributes(...)와 함께 작동하도록 하려면 TypeID 속성을 재정의합니다. 이 속성에서 파생된 특성은 클래스에 적용할 수 있는 인스턴스에 대한 더 나은 제어가 필요한 경우에만 이 속성을 재정의해야 합니다.

(다음에서 상속됨 RegistrationAttribute)

메서드

GetPackageRegKeyPath(Guid)

VSPackage의 레지스트리 경로(애플리케이션의 레지스트리 루트를 기준으로)를 가져옵니다.

(다음에서 상속됨 RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

클래스를 CommandSet으로 선언하고 명령 집합에 대한 이름 및 연결된 서비스 브로커 서비스를 지정합니다. 명령 집합은 명령을 와 함께 ProvideCommandAttribute제공할 수 있습니다.

Unregister(RegistrationAttribute+RegistrationContext)

클래스를 CommandSet으로 선언하고 명령 집합에 대한 이름 및 연결된 서비스 브로커 서비스를 지정합니다. 명령 집합은 명령을 와 함께 ProvideCommandAttribute제공할 수 있습니다.

적용 대상