다음을 통해 공유


ProvideEditorFactoryAttribute 클래스

정의

이 특성은 VSPackage가 편집기 팩터리를 제공한다고 선언합니다.

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

설명

여러 편집기 팩터리를 동일한 VSPackage와 연결할 수 있습니다.

생성자

ProvideEditorFactoryAttribute(Type, Int16)

이 생성자를 만듭니다 ProvideEditorFactoryAttribute 개체입니다.

ProvideEditorFactoryAttribute(Type, Int16, Boolean)

이 특성은 VSPackage가 편집기 팩터리를 제공한다고 선언합니다.

속성

CommonPhysicalViewAttributes

편집기에서 지원하는 실제 보기의 기본값 __VSPHYSICALVIEWATTRIBUTES 을 가져오거나 설정합니다. PhysicalViewAttributes 하위 키에 나열되지 않은 실제 뷰는 이러한 특성을 사용합니다.

DeferUntilIntellisenseIsReady

이 특성은 VSPackage가 편집기 팩터리를 제공한다고 선언합니다.

FactoryType

편집기 팩터리 유형을 가져옵니다.

NameResourceID

리소스 ID를 가져옵니다.

TrustLevel

편집기 신뢰 수준을 가져오거나 설정합니다.

TypeId

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

(다음에서 상속됨 RegistrationAttribute)

메서드

GetPackageRegKeyPath(Guid)

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

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

지정된 컨텍스트에 이 특성을 등록하기 위해 호출됩니다.

Unregister(RegistrationAttribute+RegistrationContext)

지정된 컨텍스트에 이 특성을 등록 취소하기 위해 호출됩니다.

적용 대상