Share via


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)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("D2C45F92-23B5-408B-B41D-D4365FB7EDA8")> _
Public Interface IVsExtensibleObject
[InterfaceTypeAttribute()]
[GuidAttribute("D2C45F92-23B5-408B-B41D-D4365FB7EDA8")]
public interface IVsExtensibleObject
[InterfaceTypeAttribute()]
[GuidAttribute(L"D2C45F92-23B5-408B-B41D-D4365FB7EDA8")]
public interface class IVsExtensibleObject
[<InterfaceTypeAttribute()>]
[<GuidAttribute("D2C45F92-23B5-408B-B41D-D4365FB7EDA8")>]
type IVsExtensibleObject =  interface end
public interface IVsExtensibleObject

The IVsExtensibleObject type exposes the following members.

Methods

  Name Description
Public method GetAutomationObject Returns an automation object.

Top

Remarks

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 Basic Edit Sample.

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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace