Compartilhar via


IActiveDesigner.GetExtensibilityObject(Object) Method

Definition

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

public:
 int GetExtensibilityObject([Runtime::InteropServices::Out] System::Object ^ % ppvObjOut);
int GetExtensibilityObject([Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & ppvObjOut);
public int GetExtensibilityObject (out object ppvObjOut);
abstract member GetExtensibilityObject : obj -> int
Public Function GetExtensibilityObject (ByRef ppvObjOut As Object) As Integer

Parameters

ppvObjOut
Object

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

Returns

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.

Applies to