Share via


RegisterAsDslToolsEditorAttribute 클래스

정의

이 특성은 Designer 마법사를 사용하여 만든 DSL 도구 Designer 태그를 지정하는 데 사용됩니다. 이를 통해 Designer 마법사는 다른 비 DSLTools 디자이너에서 처리하는 파일 확장자를 다시 사용하지 않도록 조언하고 동일한 파일 확장자를 처리하는 다른 패키지를 제거하지 않고도 이전 DSL 디자이너를 제거할 수 있습니다.

public ref class RegisterAsDslToolsEditorAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)]
public sealed class RegisterAsDslToolsEditorAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)>]
type RegisterAsDslToolsEditorAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class RegisterAsDslToolsEditorAttribute
Inherits RegistrationAttribute
상속
RegisterAsDslToolsEditorAttribute
특성

생성자

RegisterAsDslToolsEditorAttribute()

이 특성은 Designer 마법사를 사용하여 만든 DSL 도구 Designer 태그를 지정하는 데 사용됩니다. 이를 통해 Designer 마법사는 다른 비 DSLTools 디자이너에서 처리하는 파일 확장자를 다시 사용하지 않도록 조언하고 동일한 파일 확장자를 처리하는 다른 패키지를 제거하지 않고도 이전 DSL 디자이너를 제거할 수 있습니다.

속성

TypeId

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

(다음에서 상속됨 RegistrationAttribute)

메서드

GetPackageRegKeyPath(Guid)

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

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

패키지를 DSL 도구로 등록합니다.

Unregister(RegistrationAttribute+RegistrationContext)

DSL 도구 등록 키를 제거합니다.

적용 대상