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.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

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

[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true, 
	Inherited = true)]
public sealed class ProvideAutomationObjectAttribute : RegistrationAttribute

NameDescription
System_CAPS_pubmethodProvideAutomationObjectAttribute(String)

Initializes a new instance of ProvideAutomationObjectAttribute.

NameDescription
System_CAPS_pubpropertyDescription

Gets or sets the description of the automation object.

System_CAPS_pubpropertyName

Gets the name of the automation object.

System_CAPS_pubpropertyTypeId

Gets the current instance of this attribute.(Inherited from RegistrationAttribute.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodRegister(RegistrationAttribute.RegistrationContext)

Registers this attribute when called by an external registration tool such as RegPkg.exe.(Overrides RegistrationAttribute.Register(RegistrationAttribute.RegistrationContext).)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodUnregister(RegistrationAttribute.RegistrationContext)

Removes the registry key when called by an external registration tool such as RegPkg.exe. (Overrides RegistrationAttribute.Unregister(RegistrationAttribute.RegistrationContext).)

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.

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

Return to top
Show: