NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

AxHost.GetOcx

Returns the IUnknown pointer to the enclosed ActiveX control.

[Visual Basic]
Overridable Public Function GetOcx() As Object
[C#]
public virtual object GetOcx();
[C++]
public: virtual Object* GetOcx();
[JScript]
public function GetOcx() : Object;

Return Value

the control's IUnknown

See Also

AxHost Class | AxHost Members | System.WinForms Namespace