ProvideAutomationObjectAttribute Class

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

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := True, Inherited := True)> _
Public NotInheritable Class ProvideAutomationObjectAttribute _
    Inherits RegistrationAttribute
'Usage
Dim instance As ProvideAutomationObjectAttribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
public sealed class ProvideAutomationObjectAttribute : RegistrationAttribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = true, Inherited = true)]
public ref class ProvideAutomationObjectAttribute sealed : public RegistrationAttribute
public final class ProvideAutomationObjectAttribute extends RegistrationAttribute

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.

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.VisualStudio.Shell.RegistrationAttribute
      Microsoft.VisualStudio.Shell.ProvideAutomationObjectAttribute

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ProvideAutomationObjectAttribute Members

Microsoft.VisualStudio.Shell Namespace