IActiveDesigner.GetExtensibilityObject Method

Retrieves the extensibility object (DTE) for the ActiveX designer in use as an editor.

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


Function GetExtensibilityObject ( _
    <OutAttribute> ByRef ppvObjOut As Object _
) As Integer
‘사용 방법
Dim instance As IActiveDesigner
Dim ppvObjOut As Object
Dim returnValue As Integer

returnValue = instance.GetExtensibilityObject(ppvObjOut)
int GetExtensibilityObject(
    out Object ppvObjOut
int GetExtensibilityObject(
    [OutAttribute] Object^% ppvObjOut
abstract GetExtensibilityObject : 
        ppvObjOut:Object byref -> int 
function GetExtensibilityObject(
    ppvObjOut : Object
) : int


  • ppvObjOut
    Type: System.Object%
    [out]. Address of pointer to the IDispatch interface of the extensibility object.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.


COM Signature

From designer.idl:

HRESULT IActiveDesigner::GetExtensibilityObject(
   [out] IDispatch ** ppvObjOut


For more information about automation and extensibility, see Visual Basic and Visual C# Extensibility Object Model for Projects.

.NET Framework Security

See Also


IActiveDesigner Interface

IActiveDesigner Members

Microsoft.VisualStudio.Shell.Interop Namespace