setProperty(const OSString *, OSObject *)
Synchronized method to add a property to a registry entry's property table.
Declaration
virtual bool setProperty(
const OSString *aKey,
OSObject *anObject);Parameters
- aKey:
The property's name as an OSString.
- 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
attachToChildattachToParentchildFromPathcompareNamecompareNamescopyChildEntrycopyLocationcopyNamecopyParentEntrycopyProperty(const char *)copyProperty(const char *, const IORegistryPlane *, IOOptionBits)copyProperty(const OSString *)copyProperty(const OSString *, const IORegistryPlane *, IOOptionBits)copyProperty(const OSSymbol *)copyProperty(const OSSymbol *, const IORegistryPlane *, IOOptionBits)dealiasPathdetachAbovedetachAlldetachFromChilddetachFromParentdictionaryWithPropertiesfreefromPath(const char *, const IORegistryPlane *, char *, int *)fromPath(const char *, const IORegistryPlane *, char *, int *, IORegistryEntry *)getChildEntrygetChildIteratorgetDepthgetGenerationCountgetLocationgetNamegetParentEntrygetParentIteratorgetPathgetPathComponentgetPlanegetProperty(const char *)getProperty(const char *, const IORegistryPlane *, IOOptionBits)getProperty(const OSString *)getProperty(const OSString *, const IORegistryPlane *, IOOptionBits)getProperty(const OSSymbol *)getProperty(const OSSymbol *, const IORegistryPlane *, IOOptionBits)getPropertyTablegetRegistryEntryIDgetRegistryRootinitinPlaneisChildisParentmakePlaneremovePropertyremoveProperty(const OSString *)removeProperty(const OSSymbol *)runPropertyActionserializePropertiessetLocationsetName(const char *, const IORegistryPlane *)setName(const OSSymbol *, const IORegistryPlane *)setPropertiessetPropertysetProperty(const char *, bool)setProperty(const char *, const char *)setProperty(const char *, OSObject *)setProperty(const char *, unsigned long long, unsigned int)setProperty(const OSSymbol *, OSObject *)setPropertyTable