com_propget
mixed com_propget(resource identifier, string property_name)
identifier | Identifier from com_load() |
property_name | Name of the property in the COM object |
Returns the value of a property.
Returns:
Property value; FALSE on error
Description:
Returns the value of a property of the COM component referenced by the COM object. com_get() is an alias for this function.
Version:
Existing since version 3.0.3
Example:
Retrieve a value
$com = new COM("ObjectName.ClassName"); $ret = com_propget($com, "PropertyVal"); |
Get PHP Functions Essential Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.