System.Win.Registry.TRegistry Methods

From RAD Studio API Documentation
Jump to: navigation, search

InheritedProtected
AfterConstructionpublicResponds after the last constructor has executed.
BeforeDestructionpublicResponds before the first destructor executes.
ChangeKeyprotectedSetter method for the CurrentKey and CurrentPath properties.
CheckDisposedprotected
CheckResultprotectedChecks whether a Windows API call finished successfully or not.
ClassInfopublicReturns a pointer to the run-time type information (RTTI) table for the object type.
ClassNamepublicReturns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument).
ClassNameIspublicDetermines whether an object is of a specific type.
ClassParentpublicReturns the type of the immediate ancestor of a class.
ClassTypepublicReturns the class reference for the object's class.
CleanupInstancepublicPerforms finalization on long strings, variants, and interface variables within a class.
CloseKeypublicWrites the current key to the registry and closes the key.
CreatepublicCreates a TRegistry object for an application.
CreateKeypublicCreates a new key in the registry.
DefaultHandlerpublicProvides the interface for a method that processes message records.
DeleteKeypublicRemoves a specified key and its associated data from the registry.
DeleteValuepublicErases a data value that is associated with the current key.
DestroypublicCloses the current key and destroys the TRegistry object.
DispatchpublicCalls message-handling methods for the object, based on the contents of the Message parameter.
DisposeOfpublicDisposeOf forces the execution of the destructor code in an object.
EqualspublicChecks whether the current instance and the Obj parameter are equal.
FieldAddresspublicReturns the address of a published object field.
FreepublicDestroys an object and frees its associated memory, if necessary.
FreeInstancepublicDeallocates memory allocated by a previous call to the NewInstance method.
GetBaseKeyprotectedReturns the base key.
GetDataprotectedReads data from a registry entry in the current key.
GetDataAsStringpublicReads data from a registry entry in the current key.
GetDataInfopublicReturns information about a specified data value associated with the current key.
GetDataSizepublicReturns the size, in bytes, of a specified data value associated with the current key.
GetDataTypepublicReturns the enumerated data type of a specified data value associated with the current key.
GetDisposedprotectedGetter for the Disposed property.
GetHashCodepublicReturns an integer containing the hash code.
GetInterfacepublicRetrieves a specified interface.
GetInterfaceEntrypublicReturns the entry for a specific interface implemented in a class.
GetInterfaceTablepublicReturns a pointer to a structure containing all of the interfaces implemented by a given class.
GetKeyprotectedReturns the HKEY equivalent to a key given as a string.
GetKeyInfopublicReturns information about the current key.
GetKeyNamespublicReturns a string list containing the names of all subkeys belonging to the current key.
GetRootKeyNameprotectedReturns the string root key name.
GetValueNamespublicReturns a string list containing the names of all data values associated with the current key.
HasSubKeyspublicDetermines if the current key has subkeys.
InheritsFrompublicDetermines the relationship of two object types.
InitInstancepublicInitializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer.
InstanceSizepublicReturns the size in bytes of each instance of the object type.
KeyExistspublicDetermines if a specified key exists.
LoadKeypublicCreates a subkey under the root key and loads registry information from a file into the newly created subkey.
MethodAddresspublicReturns the address of a class method by name.
MethodNamepublicReturns the name of a class method by address.
MoveKeypublicMoves an existing key, its subkeys, and data values to a new location using a new key name.
NewInstancepublicAllocates memory for an instance of an object type and returns a pointer to that new instance.
OpenKeypublicOpens a specified key.
OpenKeyReadOnlypublicOpens a specified key in a read-only manner.
PutDataprotectedWrites data to a registry entry.
QualifiedClassNamepublicReturns the qualified name of the class.
ReadBinaryDatapublicRetrieves a binary value from a specified data value associated with the current key.
ReadBoolpublicRetrieves a Boolean value from a specified data value associated with the current key.
ReadCurrencypublicRetrieves a currency value from a specified data value associated with the current key.
ReadDatepublicRetrieves a date value from a specified data value associated with the current key.
ReadDateTimepublicRetrieves a date and time value from a specified data value associated with the current key.
ReadFloatpublicRetrieves a float value from a specified data value associated with the current key.
ReadIntegerpublicRetrieves an integer value from a specified data value associated with the current key.
ReadStringpublicRetrieves a string value from a specified data value associated with the current key.
ReadTimepublicRetrieves a time value from a specified data value associated with the current key.
RegistryConnectpublicEstablishes a connection to a registry on another computer.
RenameValuepublicChanges the name of a data value associated with the current key.
ReplaceKeypublicReplaces the hive file backing a key and all its subkeys with a hive stored in a different file, so that when the system is next started, the key and subkeys will have the values stored in the new file.
RestoreKeypublicReopens the specified key, and overwrites any information contained in this key and its subkeys keys with registry data stored in a hive file.
SafeCallExceptionpublicHandles exceptions in methods declared using the safecall calling convention.
SaveKeypublicOpens the specified key with the security access value KEY_ALL_ACCESS and saves the specified key and all of its subkeys and values to a hive file.
SetCurrentKeyprotectedSetter method for the CurrentKey property.
ToStringpublicReturns a string containing the class name.
UnitNamepublicReturns the name of the unit where the class is defined.
UnitScopepublicReturns the class's unit scope.
UnLoadKeypublicRemoves a hive from the registry.
ValueExistspublicDetermines if a specified data value exists for the current key.
WriteBinaryDatapublicStores a specifically named data value associated with the current key.
WriteBoolpublicStores a Boolean value in a specifically named data value associated with the current key.
WriteCurrencypublicStores a currency value in a specifically named data value associated with the current key.
WriteDatepublicStores a date value in a specifically named data value associated with the current key.
WriteDateTimepublicStores a datetime value in a specifically named data value associated with the current key.
WriteExpandStringpublicStores a string containing unexpanded references to environment variables in a specifically named data value associated with the current key.
WriteFloatpublicStores a Double value in a specifically named data value associated with the current key.
WriteIntegerpublicStores an integer value in a specifically named data value associated with the current key.
WriteStringpublicStores a string value in a specifically named data value associated with the current key.
WriteTimepublicStores a time value in a specifically named data value associated with the current key.