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 编辑器中对其进行并行编辑的编辑器工厂的唯一 id

Name

应阻止在 "XML 编辑器" 中进行并行编辑的设计器的注册表项名称

TypeId

获取此属性的当前实例。

(继承自 RegistrationAttribute)

方法

GetPackageRegKeyPath(Guid)

获取与 VSPackage 的应用程序) 的注册表根相关的注册表路径 (。

(继承自 RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

将编辑器工厂注册为不支持与 Xml 编辑器一起并行编辑

Unregister(RegistrationAttribute+RegistrationContext)

注销编辑器工厂,以不支持与 Xml 编辑器一起并行编辑

适用于