ProvideStaticToolboxGroupAttribute 类

定义

此属性声明将在工具箱初始化时创建的工具箱组。

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

注解

组可以选择包含用创建的项目 ProvideStaticToolboxItemAttribute

IVsToolboxItemProvider有关更多详细信息,请参阅 vsshell100 中的注释。

构造函数

ProvideStaticToolboxGroupAttribute(String, String)

初始化 ProvideStaticToolboxGroupAttribute 的新实例。

属性

Id

获取组 ID。

Index

获取工具箱组的索引。

Name

获取工具箱组的名称。

TypeId

获取此属性的当前实例。

(继承自 RegistrationAttribute)

方法

GetPackageRegKeyPath(Guid)

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

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

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

Unregister(RegistrationAttribute+RegistrationContext)

删除注册数据。

适用于