Bagikan melalui


ProvideXmlEditorChooserDesignerViewAttribute Kelas

Definisi

Digunakan untuk memberikan informasi pendaftaran ke Pemilih XML untuk desainer XML kustom.

public ref class ProvideXmlEditorChooserDesignerViewAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public sealed class ProvideXmlEditorChooserDesignerViewAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
type ProvideXmlEditorChooserDesignerViewAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class ProvideXmlEditorChooserDesignerViewAttribute
Inherits RegistrationAttribute
Warisan
ProvideXmlEditorChooserDesignerViewAttribute
Atribut

Konstruktor

ProvideXmlEditorChooserDesignerViewAttribute(String, String, Object, Int32)

Konstruktor untuk ProvideXmlEditorChooserDesignerViewAttribute.

Properti

CodeLogicalViewEditor

Pabrik editor untuk dikaitkan dengan tampilan logis kode

DebuggingLogicalViewEditor

Pabrik editor untuk dikaitkan dengan tampilan logis penelusuran kesalahan

DefaultLogicalView

Id unik pabrik editor untuk tampilan logika default.

DesignerLogicalViewEditor

Pabrik editor untuk dikaitkan dengan tampilan logis perancang

Extension

Ekstensi file untuk jenis XML kustom Anda (misalnya "xaml", "resx", "xsd").

IsDataSet

Nilai khusus hanya digunakan oleh perancang Himpunan Data.

MatchExtensionAndNamespace

Nilai Boolean yang menunjukkan apakah pemilih XML harus cocok pada ekstensi file dan Namespace. Jika false, pemilih XML akan cocok pada ekstensi atau Namespace.

Name

KeyName registri untuk editor XML Anda. Misalnya "RESX", "Silverlight", "Alur Kerja", dll...

Namespace

Namespace XML yang digunakan dalam dokumen yang didukung editor ini.

TextLogicalViewEditor

Pabrik editor untuk dikaitkan dengan tampilan logis teks

TypeId

Ambil alih properti TypeID untuk memungkinkan RegistrationAttribute memperoleh kelas untuk bekerja dengan System.ComponentModel.TypeDescriptor.GetAttributes(...). Atribut yang berasal dari atribut ini harus mengambil alih properti ini hanya jika membutuhkan kontrol yang lebih baik pada instans yang dapat diterapkan ke kelas.

(Diperoleh dari RegistrationAttribute)
XmlChooserPriority

Prioritas ekstensi di Pemilih XML. Nilai ini harus lebih besar dari nilai prioritas ekstensi untuk EditorFactory perancang XML

Metode

GetPackageRegKeyPath(Guid)

Mendapatkan jalur registri (relatif terhadap akar registri aplikasi) dari VSPackage.

(Diperoleh dari RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

Mendaftarkan perancang sebagai editor potensial untuk ekstensi tertentu

Unregister(RegistrationAttribute+RegistrationContext)

Membatalkan pendaftaran perancang sebagai editor potensial untuk ekstensi tertentu

Berlaku untuk