Partilhar via


COM.interface Method

Definition

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()));

Applies to