共用方式為


ProvideXmlEditorChooserDesignerViewAttribute 類別

用來以 XML 選擇器中提供自訂的 XML 設計工具的註冊資訊。

繼承階層架構

System.Object
  System.Attribute
    Microsoft.VisualStudio.Shell.RegistrationAttribute
      Microsoft.VisualStudio.Modeling.Shell.ProvideXmlEditorChooserDesignerViewAttribute

命名空間:  Microsoft.VisualStudio.Modeling.Shell
組件:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll 中)

語法

'宣告
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := True, Inherited := True)> _
Public NotInheritable Class ProvideXmlEditorChooserDesignerViewAttribute _
    Inherits RegistrationAttribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
public sealed class ProvideXmlEditorChooserDesignerViewAttribute : RegistrationAttribute

ProvideXmlEditorChooserDesignerViewAttribute 型別會公開下列成員。

建構函式

  名稱 說明
公用方法 ProvideXmlEditorChooserDesignerViewAttribute ProvideXmlEditorChooserDesignerViewAttribute 的建構函式。

回頁首

屬性

  名稱 說明
公用屬性 CodeLogicalViewEditor 與邏輯程式碼] 檢視編輯器工廠
公用屬性 DebuggingLogicalViewEditor 編輯器工廠相關於偵錯的邏輯檢視
公用屬性 DefaultLogicalView 編輯器原廠預設值的邏輯檢視是唯一的識別碼。
公用屬性 DesignerLogicalViewEditor 編輯器工廠相關於設計工具的邏輯檢視
公用屬性 Extension 您的自訂 XML 檔案的副檔名 (例如: 輸入 "xaml","resx 」,「 xsd")。
公用屬性 IsDataSet 只有使用 [DataSet 設計工具的特殊值。
公用屬性 MatchExtensionAndNamespace 布林值,指出 XML 選擇是否應該符合附檔名和 Namespace 上。若為 false,XML 選擇器將符合該副檔名和 Namespace。
公用屬性 Name 登錄 keyName,XML 編輯器。例如"RESX 」,"Silverlight",「 工作流程 」 等...
公用屬性 Namespace 使用此編輯器可支援的文件中 XML Namespace。
公用屬性 TextLogicalViewEditor 編輯器工廠相關於文字的邏輯檢視
公用屬性 TypeId (繼承自 RegistrationAttribute)。
公用屬性 XmlChooserPriority XML 選擇器中的擴充功能的優先權。這個值必須大於 XML 設計工具的 EditorFactory 的擴充功能的優先權值

回頁首

方法

  名稱 說明
公用方法 Equals 基礎架構。傳回數值,表示這個執行個體是否等於指定的物件。 (繼承自 Attribute)。
公用方法 GetHashCode 傳回這個執行個體的雜湊程式碼。 (繼承自 Attribute)。
公用方法 GetType 取得目前執行個體的 Type。 (繼承自 Object)。
公用方法 IsDefaultAttribute 在衍生類別中覆寫時,表示這個執行個體的值是否為衍生類別的預設值。 (繼承自 Attribute)。
公用方法 Match 在衍生類別中覆寫時,會傳回值,表示這個執行個體是否等於指定物件。 (繼承自 Attribute)。
公用方法 Register 註冊設計工具為特定副檔名之潛在編輯器 (覆寫 RegistrationAttribute.Register(RegistrationAttribute.RegistrationContext)。)
公用方法 ToString 傳回表示目前物件的字串。 (繼承自 Object)。
公用方法 Unregister 取消註冊為特定副檔名之潛在編輯器的設計工具 (覆寫 RegistrationAttribute.Unregister(RegistrationAttribute.RegistrationContext)。)

回頁首

明確介面實作

  名稱 說明
明確介面實作私用方法 _Attribute.GetIDsOfNames 將一組名稱對應至一組對應的分派識別項 (Dispatch Identifier)。 (繼承自 Attribute)。
明確介面實作私用方法 _Attribute.GetTypeInfo 擷取物件的型別資訊,可以用來取得介面的型別資訊。 (繼承自 Attribute)。
明確介面實作私用方法 _Attribute.GetTypeInfoCount 擷取物件提供的型別資訊介面數目 (0 或 1)。 (繼承自 Attribute)。
明確介面實作私用方法 _Attribute.Invoke 提供物件所公開的屬性和方法的存取權。 (繼承自 Attribute)。

回頁首

執行緒安全

這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。不保證任何執行個體成員是安全執行緒。

請參閱

參考

Microsoft.VisualStudio.Modeling.Shell 命名空間