Share via


ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute 類別

定義

用來指出自定義 XML 設計工具不應允許使用標準文字型 XML 編輯器進行 SxS 編輯。

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

建構函式

ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute(String, Object)

ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute 的建構函式。

屬性

EditorFactory

應該封鎖 XML 編輯器 中並排編輯的編輯器處理站唯一標識碼

Name

應該封鎖 XML 編輯器 中並排編輯之設計工具的登錄機碼名稱

TypeId

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

(繼承來源 RegistrationAttribute)

方法

GetPackageRegKeyPath(Guid)

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

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

將編輯器處理站註冊為不支援並存編輯與 Xml 編輯器

Unregister(RegistrationAttribute+RegistrationContext)

取消註冊編輯器處理站,因為不支援與 Xml 編輯器 並排編輯

適用於