Skip to content

Methods for cRegistry

View method list in hierarchical order.

Name Type Description Defining Class
ChildByIndex Function Can be used to iterate the direct children of an object ChildByIndex is a function that can be used to iterate the direct children of an object. cObject
ClassSuperClass Function Returns the superclass of the passed class This returns the superclass of the passed class. cObject
CloseKey Procedure Closes a Registry Key The CloseKey procedure closes a Key that you have opened with either OpenKey or CreateKey. cRegistry
CountOfSubkeys Function Returns the number of Subkeys for the Key that is currently open Use the CountOfSubkeys function to determine how many SubKeys a Key has. cRegistry
CountOfValues Function Returns the number of Values that exist for the Key that is currently open Use the CountOfValues function to determine how many Values exist within the Key that you have open. cRegistry
Create Function Creates an object based on the passed Class Id The Create function is used to dynamically create objects. cObject
CreateKey Function Adds a new Key to the Registry CreateKey adds a new Key to the Registry . cRegistry
CreateNamed Function Creates an object based on the passed Class Id and assigns it a name Name based on a passed name Creates an object based on the passed Class Id and assigns it a name Name based on a passed name. cObject
DeleteKey Function Deletes a Key from the Registry The DeleteKey function deletes a Key and all descendant Subkeys and Values. cRegistry
DeleteValue Function Deletes a Value from a Key in the Registry You use DeleteValue to delete a Value from the Key that is already open. cRegistry
Destroy Procedure Destroys the object that receives the message and any child objects of that object The Destroy message destroys the object that receives the message. cObject
Exit_Application Procedure Starts the process of closing an application The Exit_Application message is used to close the program. cObject
GetSubkeys Function Retrieves the names of all Subkeys belonging to the open Key The GetSubkeys function populates an array with the names of the the Subkeys of the Key that is presently open. cRegistry
GetValues Function Retrieves the names of all Values belonging to the open Key The GetValues function populates an array with the names of the Values of the Key that is presently open. cRegistry
IsClassOfClass Function Determines whether the target class is part of the searched class's hierarchy cObject
IsObjectOfClass Function Determines whether the passed class is part of the object's class hierarchy This returns True if the passed class is part of the object's class hierarchy. cObject
KeyExists Function Determines whether a Key exists KeyExists determines whether a Key exists before attempting to access it. cRegistry
LongestDataLength Function Returns the length of the longest data in all Values for the currently open Key The LongestDataLength function returns the length of the longest data in all Values for the currently open Key. cRegistry
LongestSubkeyLength Function Returns the length of the longest Subkey name for the currently open Key The LongestSubkeyLength function returns the length of the longest Subkey name for the currently open Key. cRegistry
LongestValueLength Function Returns the length of the longest Value name for the currently open Key The LongestValueLength function returns the length of the longest Value name for the currently open Key. cRegistry
ObjectClass Function Returns the integer class ID assigned to the class this object is based on Returns the integer class ID assigned to the class this object is based on. cObject
OpenKey Function Opens a Registry Key for access The Key is opened with the security access specified by the pfAccessRights property. cRegistry
ReadBinary Function Reads a binary value from the currently open Key Use ReadBinary to read binary data from a Windows Registry value. cRegistry
ReadInteger Function Reads an Integer value from the currently open Key Reads an Integer value from the currently open Key. cRegistry
ReadString Function Reads a String value from the currently open Key Use ReadString to read a String value from the currently open Key. cRegistry
ReadUInt Function Reads a UInteger value from the currently open Key Use ReadUInt to read a UInteger value from the currently open Key. cRegistry
Request_Destroy_Object Procedure Use the Destroy method instead This method is used to destroy an object and all of its children. cObject
Subkeys Function cRegistry
ValueExists Function Tests whether a named Value exists in the open Key Use the ValueExists function to verify that a Value of the currently open Key exists before trying to access it. cRegistry
ValueLength Function Returns the length of the data for a named Value of the currently open Key Use ValueLength to determine the number of bytes stored for a specific Value. cRegistry
ValueType Function Returns the data type for the named Value of the currently open Key Use the ValueType method to determine the data-type of an existing Value in the Key that you currently have open. cRegistry
WriteBinary Procedure Writes a Binary Value into the currently open Key of the Windows Registry Use WriteBinary to write a Binary value into the currently open Key. cRegistry
WriteInteger Procedure Writes an Integer Value into the currently open Key of the Windows Registry Use WriteInteger to write an Integer value into the currently open Key. cRegistry
WriteString Procedure Writes a String Value into the currently open Key of the Windows Registry Use WriteString to write a String value into the currently open Key. cRegistry
WriteUInt Procedure Writes a UInteger Value into the currently open Key of the Windows Registry Use WriteUInt to write a UInteger value into the currently open Key. cRegistry