IVsExtensibleObject Interface

 

Returns a VSPackage-specific automation object at specific points in the automation model.

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

[InterfaceTypeAttribute(1)]
[GuidAttribute("D2C45F92-23B5-408B-B41D-D4365FB7EDA8")]
public interface IVsExtensibleObject

NameDescription
System_CAPS_pubmethodGetAutomationObject(String, Object)

Returns an automation object.

Implement either IVsExtensibleObject or IExtensibleObject when you want to extend the automation model with a customized object in either a tool window or document window.

The environment calls the GetAutomationObject method when an automation consumer tries to use your the automation object of your VSPackage.

See illustrations of the implementation of this interface in the .f70f18ac-6544-465f-a031-5eba0ef02572

Notes to Implementers:

Implement this interface when you want to extend the automation model with a customized object in either a tool window or document window.

Return to top
Show: