ProvideCodeContainerProviderAttribute 类

定义

注册代码容器提供程序信息。 用法示例: [ProvideCodeContainerProvider (registeredName: "Test Provider",providerId: "{92f93057-f1fc-49df-870f-b3474046911a}" displayNamePackageGuid: "{92f93057-f1fc-49df-870f-b3474046911a}",imageMonikerGuid: "{92f93057-f1fc-49df-870f-b3474046911b}",imageMonikerId:10,DisplayNameResourceId = "#100",DisplayDetailResourceId = "#110" ) ]

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

构造函数

ProvideCodeContainerProviderAttribute(String, String, String, Int32, String, String, Type)

创建注册代码容器提供程序的注册属性

属性

DisplayDetailResourceId

获取提供程序的本地化显示详细信息的资源 id

DisplayNameResourceId

获取提供程序的本地化显示名称的资源 id

ExtensionProvidersKey

获取注册表中声明扩展提供程序的路径。 在派生类中重写。

(继承自 ExtensionPointRegistrationAttribute)
ExtensionProviderType

获取接口实现的扩展提供程序的类型。

(继承自 ExtensionPointRegistrationAttribute)
ImageMonikerGuid

获取代码容器提供程序的图像名字对象 guid

ImageMonikerId

获取代码容器提供程序的图像名字对象 id

Name

获取扩展点提供程序的可读名称。

(继承自 ExtensionPointRegistrationAttribute)
Package

获取包 guid

Provider

获取提供程序的 GUID。

(继承自 ExtensionPointRegistrationAttribute)
ProviderGuidString

获取以字符串形式表示的提供程序的 GUID。

(继承自 ExtensionPointRegistrationAttribute)
ProviderType

获取实现此包中的关联扩展点的类型。

(继承自 ExtensionPointRegistrationAttribute)
RegisteredName

获取提供程序的友好名称-此名称是区域设置固定的

TypeId

获取此属性的当前实例。

(继承自 RegistrationAttribute)

方法

GetPackageRegKeyPath(Guid)

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

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

调用以便向给定的上下文注册此属性。 上下文包含应放置注册信息的位置。 它还包含要注册的类型,以及路径信息。

Unregister(RegistrationAttribute+RegistrationContext)

取消注册此属性

适用于