COM_isprop
Determines if input is an existing COM object property.
📝Syntax
r = COM_isprop(h, propertyname)
r = isprop(h, propertyname)
📥Input Arguments
Parameter Description
h a COM object.
propertyname a string: property name tested as valid property for the COM object.
📤Output Arguments
Parameter Description
r a logical.
📄Description
r = isprop(h, propertyname) returns true if the specified name is a property of the COM object h. Otherwise, it returns false.
💡Examples
e = actxserver('Excel.Application');
isprop(e, 'Window')
delete(e)
clear e
    
🔗See Also
COM_ismethod
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub