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

默认逻辑视图的编辑器工厂的唯一 Id。

DesignerLogicalViewEditor

要与设计器逻辑视图关联的编辑器工厂

Extension

自定义 XML 类型的文件扩展名 (例如 "xaml"、"resx"、"xsd" ) 。

IsDataSet

仅由数据集设计器使用的特殊值。

MatchExtensionAndNamespace

布尔值,指示 XML 选择器是否应同时与文件扩展名和命名空间匹配。 如果为 false,则 XML 选择器将在扩展或命名空间中匹配。

Name

XML 编辑器的注册表 keyName。 例如,"RESX"、"Silverlight"、"Workflow" 等。

Namespace

此编辑器支持的文档中使用的 XML 命名空间。

TextLogicalViewEditor

要与文本逻辑视图关联的编辑器工厂

TypeId

获取此属性的当前实例。

(继承自 RegistrationAttribute)
XmlChooserPriority

XML 选择器中扩展的优先级。 此值必须大于 XML 设计器的 EditorFactory 的扩展的优先级值。

方法

GetPackageRegKeyPath(Guid)

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

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

将设计器注册为特定扩展的潜在编辑器

Unregister(RegistrationAttribute+RegistrationContext)

将设计器注销为特定扩展的可能编辑器

适用于