Contents

setProperty(const OSSymbol *, OSObject *)

Synchronized method to add a property to a registry entry's property table.

Declaration

virtual bool setProperty(
 const OSSymbol *aKey,
 OSObject *anObject);

Parameters

  • aKey:

    The properties name as an OSSymbol.

  • anObject:

    The property value.

Return Value

true on success or false on a resource failure.

Overview

This method will add or replace a property in a registry entry's property table, using the OSDictionary::setObject semantics. This method is synchronized with other IORegistryEntry accesses to the property table.

See Also

Miscellaneous