ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
用于指示自定义 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(String, Object) |
ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute 的构造函数。 |
属性
| EditorFactory |
要在 XML 编辑器中对其进行并行编辑的编辑器工厂的唯一 id |
| Name |
应阻止在 "XML 编辑器" 中进行并行编辑的设计器的注册表项名称 |
| TypeId |
获取此属性的当前实例。 (继承自 RegistrationAttribute) |
方法
| GetPackageRegKeyPath(Guid) |
获取与 VSPackage 的应用程序) 的注册表根相关的注册表路径 (。 (继承自 RegistrationAttribute) |
| Register(RegistrationAttribute+RegistrationContext) |
将编辑器工厂注册为不支持与 Xml 编辑器一起并行编辑 |
| Unregister(RegistrationAttribute+RegistrationContext) |
注销编辑器工厂,以不支持与 Xml 编辑器一起并行编辑 |