IVsExtensibleObject::GetAutomationObject Method (String^, Object^)
Visual Studio 2015
Returns an automation object.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pszPropName
-
Type:
System::String^
[in] The environment passes a null when an automation consumer calls your automation object.
- ppDisp
-
Type:
System::Object^
[out] Pointer to the IDispatch interface of the object to be returned.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsExtensibleObject::GetAutomationObject(
[in] LPCOLESTR pszPropName,
[out] IDispatch **ppDisp
);
The environment calls this 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 .f70f18ac-6544-465f-a031-5eba0ef02572
Show: