External Interfaces/API Reference    
isprop (COM)

Determine if an item is a property of a COM object

Syntax

Arguments

h
   Handle for a COM object previously returned from actxcontrol, actxserver, get, or invoke.

name
   Name of the item to test.

Description

Returns a logical 1 (true) if the specified name is a property you can use with COM object, h. Otherwise, isprop returns logical 0 (false).

Examples

Create an Excel application and test to see if UsableWidth is a property of the object. isprop returns true:

Try the same test on SaveWorkspace, which is a method, and isprop returns false:

See Also

get, inspect, addproperty, deleteproperty


  ismethod (COM) load (COM)