Compartir a través de


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

'Declaración
<InterfaceTypeAttribute()> _
<GuidAttribute("D2C45F92-23B5-408B-B41D-D4365FB7EDA8")> _
Public Interface IVsExtensibleObject
'Uso
Dim instance As 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

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

IVsExtensibleObject Members

Microsoft.VisualStudio.Shell.Interop Namespace