ProvideAutomationObjectAttribute ProvideAutomationObjectAttribute ProvideAutomationObjectAttribute ProvideAutomationObjectAttribute ProvideAutomationObjectAttribute Class

Definition

Modifying your Package-derived class with this attribute declares that it provides a particular automation object.

public ref class ProvideAutomationObjectAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class ProvideAutomationObjectAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public sealed class ProvideAutomationObjectAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
type ProvideAutomationObjectAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class ProvideAutomationObjectAttribute
Inherits RegistrationAttribute
Inheritance
ProvideAutomationObjectAttributeProvideAutomationObjectAttributeProvideAutomationObjectAttributeProvideAutomationObjectAttributeProvideAutomationObjectAttribute
Attributes

Remarks

Attributes that modify a VSPackage do not affect the behavior of the VSPackage. They may be used by registration tools to register the proper information with Visual Studio.

Constructors

ProvideAutomationObjectAttribute(String) ProvideAutomationObjectAttribute(String) ProvideAutomationObjectAttribute(String) ProvideAutomationObjectAttribute(String) ProvideAutomationObjectAttribute(String)

Initializes a new instance of ProvideAutomationObjectAttribute.

Properties

Description Description Description Description Description

Gets or sets the description of the automation object.

Name Name Name Name Name

Gets the name of the automation object.

TypeId TypeId TypeId TypeId TypeId

Gets the current instance of this attribute.

(Inherited from RegistrationAttribute)

Methods

GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid)

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

(Inherited from RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext)

Registers this attribute when called by an external registration tool such as RegPkg.exe.

Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext)

Removes the registry key when called by an external registration tool such as RegPkg.exe.

Applies to