EditorFactoryNotifyForProjectAttribute 클래스

정의

이 특성은 이 형식의 항목이 추가되거나 이름이 바뀔 때 Project에서 IVsEditorFactoryNotify 메서드를 호출하도록 프로젝트 시스템에 대한 파일 확장자를 추가합니다.

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

설명

예: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Projects\ {F184B08F-C81C-45F6-A57F-5ABD9991F28F}\FileExtensions\.addin] "EditorFactoryNotify"="{FA3CD31E-987B-443A-9B81-186104E8DAC1}"

생성자

EditorFactoryNotifyForProjectAttribute(Object, String, Object)

새 ProvideEditorFactoryNotifyForProject 특성을 만들어 파일 확장자를 프로젝트에 등록합니다.

속성

FactoryType

편집기 팩터리의 형식을 나타내는 Guid 가져오기

FileExtension

이 보기를 지원하는 XML 파일의 확장 프로그램 가져오기 또는 설정

ProjectType

프로젝트 형식을 나타내는 Guid 가져오기

TypeId

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

(다음에서 상속됨 RegistrationAttribute)

메서드

GetPackageRegKeyPath(Guid)

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

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

지정된 컨텍스트에 이 특성을 등록하기 위해 호출됩니다. 컨텍스트에는 등록 정보를 배치할 위치가 포함됩니다. 또한 등록되는 형식 및 경로 정보와 같은 다른 정보도 포함합니다.

Unregister(RegistrationAttribute+RegistrationContext)

이 파일 확장명 등록을 취소합니다.

적용 대상