ProvideXmlEditorChooserDesignerViewAttribute 類別

定義

用來提供自定義 XML 設計工具之 XML 選擇器的註冊資訊。

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
繼承
ProvideXmlEditorChooserDesignerViewAttribute
屬性

建構函式

ProvideXmlEditorChooserDesignerViewAttribute(String, String, Object, Int32)

ProvideXmlEditorChooserDesignerViewAttribute 的建構函式。

屬性

CodeLogicalViewEditor

要與程式代碼邏輯檢視建立關聯的編輯器處理站

DebuggingLogicalViewEditor

要與偵錯邏輯檢視相關聯的編輯器處理站

DefaultLogicalView

默認邏輯檢視之編輯器處理站的唯一標識碼。

DesignerLogicalViewEditor

要與設計工具邏輯檢視建立關聯的編輯器處理站

Extension

自定義 XML 類型的擴展名 (例如 「xaml」、“resx”、“xsd”) 。

IsDataSet

只有 DataSet 設計工具使用的特殊值。

MatchExtensionAndNamespace

布爾值,指出 XML 選擇器是否應該在擴展名和命名空間上相符。 如果為 false,XML 選擇器將會比對擴充功能或命名空間。

Name

XML 編輯器的登錄機碼名稱。 例如“RESX”、“Silverlight”、“Workflow”等...

Namespace

這個編輯器支援的檔中使用的 XML 命名空間。

TextLogicalViewEditor

要與文字邏輯檢視建立關聯的編輯器處理站

TypeId

覆寫 TypeID 屬性,讓 RegistrationAttribute 衍生類別搭配 System.ComponentModel.TypeDescriptor.GetAttributes (...) 。衍生自這個屬性的屬性只有在需要對可套用至類別的實例有更好的控制權時,才必須覆寫此屬性。

(繼承來源 RegistrationAttribute)
XmlChooserPriority

XML 選擇器中延伸模組的優先順序。 此值必須大於 XML 設計工具 EditorFactory 的延伸模組優先順序值

方法

GetPackageRegKeyPath(Guid)

取得相對於 VSPackage 之應用程式) 之登錄根目錄的登錄路徑 (。

(繼承來源 RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

將設計工具註冊為特定延伸模組的潛在編輯器

Unregister(RegistrationAttribute+RegistrationContext)

將設計工具取消註冊為特定延伸模組的潛在編輯器

適用於