다음을 통해 공유


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

‘선언
<GuidAttribute("D2C45F92-23B5-408B-B41D-D4365FB7EDA8")> _
<InterfaceTypeAttribute()> _
Public Interface IVsExtensibleObject
‘사용 방법
Dim instance As IVsExtensibleObject
[GuidAttribute("D2C45F92-23B5-408B-B41D-D4365FB7EDA8")]
[InterfaceTypeAttribute()]
public interface IVsExtensibleObject
[GuidAttribute(L"D2C45F92-23B5-408B-B41D-D4365FB7EDA8")]
[InterfaceTypeAttribute()]
public interface class IVsExtensibleObject
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