COM.interface 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.
Returns the interface that is associated with the COM object.
public:
virtual long interface();
public virtual long interface ();
abstract member interface : unit -> int64
override this.interface : unit -> int64
Public Overridable Function interface () As Long
Returns
The interface that is associated with the COM object; 0 (zero) if no interface is associated with the COM object.
Remarks
The following example shows how to retrieve the interface that is associated with a COM object.
// The obj variable was previously instantiated.
info(strfmt("Interface: %1", obj.interface()));