다음을 통해 공유


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)

Syntax

'Declaration
Function GetExtensibilityObject ( _
    <OutAttribute> ByRef ppvObjOut As Object _
) As Integer
int GetExtensibilityObject(
    out Object ppvObjOut
)
int GetExtensibilityObject(
    [OutAttribute] Object^% ppvObjOut
)
abstract GetExtensibilityObject : 
        ppvObjOut:Object byref -> int
function GetExtensibilityObject(
    ppvObjOut : Object
) : int

Parameters

  • ppvObjOut
    Type: Object%

    [out]. Address of pointer to the IDispatch interface of the extensibility object.

Return Value

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

Remarks

COM Signature

From designer.idl:

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

Extensibility

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

.NET Framework Security

See Also

Reference

IActiveDesigner Interface

Microsoft.VisualStudio.Shell.Interop Namespace