Share via


ProvideEditorFactoryAttribute Třída

Definice

Tento atribut deklaruje, že sada VSPackage poskytuje objekt pro vytváření editoru.

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
Dědičnost
ProvideEditorFactoryAttribute
Atributy

Poznámky

Ke stejnému balíčku VSPackage je možné přidružit více továren editoru.

Konstruktory

ProvideEditorFactoryAttribute(Type, Int16)

Tento konstruktor vytvoří nový ProvideEditorFactoryAttribute objekt.

ProvideEditorFactoryAttribute(Type, Int16, Boolean)

Tento atribut deklaruje, že sada VSPackage poskytuje objekt pro vytváření editoru.

Vlastnosti

CommonPhysicalViewAttributes

Získá nebo nastaví výchozí __VSPHYSICALVIEWATTRIBUTES pro fyzická zobrazení podporovaná editorem. Všechna fyzická zobrazení, která nejsou uvedená v podklíči PhysicalViewAttributes, používají tyto atributy.

DeferUntilIntellisenseIsReady

Tento atribut deklaruje, že sada VSPackage poskytuje objekt pro vytváření editoru.

FactoryType

Získá typ továrny editoru.

NameResourceID

Získá ID prostředku.

TrustLevel

Získá nebo nastaví úroveň důvěryhodnosti editoru.

TypeId

Přepište vlastnost TypeID, aby mohly odvozené třídy RegistrationAttribute pracovat s System.ComponentModel.TypeDescriptor.GetAttributes(...). Atribut odvozený z tohoto bude muset přepsat tuto vlastnost pouze v případě, že potřebuje lepší kontrolu nad instancemi, které lze použít na třídu.

(Zděděno od RegistrationAttribute)

Metody

GetPackageRegKeyPath(Guid)

Získá cestu registru (vzhledem k kořenovému adresáři registru aplikace) VSPackage.

(Zděděno od RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

Volá se pro registraci tohoto atributu v daném kontextu.

Unregister(RegistrationAttribute+RegistrationContext)

Volá se pro zrušení registrace tohoto atributu v daném kontextu.

Platí pro