Freigeben über


ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute Klasse

Definition

Wird verwendet, um anzugeben, dass ein benutzerdefinierter XML-Designer die SxS-Bearbeitung mit dem standardmäßigen textbasierten XML-Editor nicht zulassen sollte.

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
Vererbung
ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute
Attribute

Konstruktoren

ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute(String, Object)

Konstruktor für ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute.

Eigenschaften

TypeId

Überschreiben Sie die TypeID-Eigenschaft, damit die von RegistrationAttribute abgeleiteten Klassen mit System.ComponentModel.TypeDescriptor.GetAttributes(...) arbeiten können. Ein von diesem abgeleitetes Attribut muss diese Eigenschaft nur überschreiben, wenn es ein besseres Steuerelement für die Instanzen benötigt, die auf eine Klasse angewendet werden können.

(Geerbt von RegistrationAttribute)

Methoden

GetPackageRegKeyPath(Guid)

Ruft den Registrierungspfad (relativ zum Registrierungsstamm der Anwendung) des VSPackages ab.

(Geerbt von RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

Registriert dieses Attribut im angegebenen Kontext.

Unregister(RegistrationAttribute+RegistrationContext)

Hebt die Registrierung für dieses Attribut auf.

Gilt für: