ProvideDesignerLoaderAttribute 类

定义

将此特性置于从派生的类, DesignerLoader 以便将类与特定语言服务或文件扩展名关联。

public ref class ProvideDesignerLoaderAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class ProvideDesignerLoaderAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
public sealed class ProvideDesignerLoaderAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
type ProvideDesignerLoaderAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class ProvideDesignerLoaderAttribute
Inherits RegistrationAttribute
继承
ProvideDesignerLoaderAttribute
属性

构造函数

ProvideDesignerLoaderAttribute(AttributeScope, Object)

提供 ProvideDesignerLoaderAttribute 的新实例。

属性

Scope

获取此特性的范围。

ScopeData

获取作用域的数据。

TypeId

获取唯一的类型值。

方法

GetPackageRegKeyPath(Guid)

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

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

调用以便向给定的上下文注册此属性。

Unregister(RegistrationAttribute+RegistrationContext)

删除 regpkg.exe 的外部注册工具调用的有关 VSPackage 的注册信息。

适用于