IActiveDesigner.GetExtensibilityObject(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.