vlax-method-applicable-p
 
 
 

Determines if an object supports a particular method

(vlax-method-applicable-p objmethod)

Arguments

obj

A VLA-object.

method

A symbol or string containing the name of the method to be checked.

Return Values

T, if the object supports the method; otherwise nil.

Examples

The following commands are issued against a LightweightPolyline object:

_$ (vlax-method-applicable-p
WhatsMyLine 'copy)
T
_$ (vlax-method-applicable-p
WhatsMyLine 'AddBox)
nil
See Also