Sdílet prostřednictvím


ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute Třída

Definice

Slouží k označení, že vlastní návrhář XML by neměl povolit úpravy SxS pomocí standardního textového editoru XML.

public ref class ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public sealed class ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
type ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute
Inherits RegistrationAttribute
Dědičnost
ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute
Atributy

Konstruktory

ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute(String, Object)

Konstruktor pro ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute.

Vlastnosti

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)

Zaregistruje tento atribut s daným kontextem.

Unregister(RegistrationAttribute+RegistrationContext)

Zruší registraci tohoto atributu.

Platí pro