Share via


ProvideCodeContainerProviderAttribute Class

Definition

Registers Code Container Provider information. Example of usage: [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
Inheritance
Attributes

Constructors

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

Create a registration attribute that registers a code container provider

Properties

DisplayDetailResourceId

Gets the resource id of the localized display detail of the provider

DisplayNameResourceId

Gets the resource id of the localized display name of the provider

ExtensionProvidersKey

The path in registry where the extension providers are declared. Override in derived classes.

(Inherited from ExtensionPointRegistrationAttribute)
ExtensionProviderType

The type of the extension provider (the interface implemented)

(Inherited from ExtensionPointRegistrationAttribute)
ImageMonikerGuid

Gets the image moniker guid of the code container provider

ImageMonikerId

Gets the image moniker id of the code container provider

Name

The human-readable name of the extension point provider This may be either a non-localized string or a decimal resource identifier prefixed by '@' indicating a managed resource. e.g. "@1234" The '#' prefix may be used to hint at a native resource.

(Inherited from ExtensionPointRegistrationAttribute)
Package

Gets the package guid

Provider

The provider's GUID

(Inherited from ExtensionPointRegistrationAttribute)
ProviderGuidString

The provider's GUID expressed as a string

(Inherited from ExtensionPointRegistrationAttribute)
ProviderType

The type which implements the associated extension point in this package

(Inherited from ExtensionPointRegistrationAttribute)
RegisteredName

Gets the friendly name of the provider - This name is locale invariant

TypeId

Override the TypeID property in order to let the RegistrationAttribute derived classes to work with System.ComponentModel.TypeDescriptor.GetAttributes(...). An attribute derived from this one will have to override this property only if it needs a better control on the instances that can be applied to a class.

(Inherited from RegistrationAttribute)

Methods

GetPackageRegKeyPath(Guid)

Gets the registry path (relative to the registry root of the application) of the VSPackage.

(Inherited from RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

Called to register this attribute with the given context. The context contains the location where the registration information should be placed. it also contains such as the type being registered, and path information.

Unregister(RegistrationAttribute+RegistrationContext)

Unregister this attribute

Applies to