Main Page   Modules   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

Value Class Reference
[synsoft.win32.reg]

List of all members.

Detailed Description

This class represents a value of a registry key.


Public Methods

char[] propget_Name ()
 The name of the value.

REG_VALUE_TYPE propget_Type ()
 The type of value.

char[] propget_Value_SZ ()
 Obtains the current value of the value as a string.

char[] propget_Value_EXPAND_SZ ()
 Obtains the current value as a string, within which any environment variables have undergone expansion.

char[][] propget_Value_MULTI_SZ ()
 Obtains the current value as an array of strings.

uint propget_Value_DWORD ()
 Obtains the current value as a 32-bit unsigned integer, ordered correctly according to the current architecture.

ulong propget_Value_QWORD ()
 Obtains the value as a 64-bit unsigned integer, ordered correctly according to the current architecture.

byte[] propget_Value_BINARY ()
 Obtains the value as a binary blob.


Member Function Documentation

char [] propget_Name   [inline]
 

The name of the value.

Note:
If the value represents a default value of a key, which has no name, the returned string will be of zero length

REG_VALUE_TYPE propget_Type   [inline]
 

The type of value.

byte [] propget_Value_BINARY   [inline]
 

Obtains the value as a binary blob.

Returns:
The contents of the value
Note:
Throws a RegistryException if the type of the value is not REG_BINARY

uint propget_Value_DWORD   [inline]
 

Obtains the current value as a 32-bit unsigned integer, ordered correctly according to the current architecture.

Returns:
The contents of the value
Note:
An exception is thrown for all types other than REG_DWORD, REG_DWORD_LITTLE_ENDIAN and REG_DWORD_BIG_ENDIAN.

char [] propget_Value_EXPAND_SZ   [inline]
 

Obtains the current value as a string, within which any environment variables have undergone expansion.

Returns:
The contents of the value
Note:
This function works with the same value-types as propget_Value_SZ().

char [][] propget_Value_MULTI_SZ   [inline]
 

Obtains the current value as an array of strings.

Returns:
The contents of the value
Note:
Throws a RegistryException if the type of the value is not REG_MULTI_SZ

ulong propget_Value_QWORD   [inline]
 

Obtains the value as a 64-bit unsigned integer, ordered correctly according to the current architecture.

Returns:
The contents of the value
Note:
Throws a RegistryException if the type of the value is not REG_QWORD

char [] propget_Value_SZ   [inline]
 

Obtains the current value of the value as a string.

Returns:
The contents of the value
Note:
If the value's type is REG_EXPAND_SZ the returned value is not expanded; propget_Value_EXPAND_SZ() should be called
Throws a RegistryException if the type of the value is not REG_SZ, REG_EXPAND_SZ, REG_DWORD(_*) or REG_QWORD(_*):


The documentation for this class was generated from the following file:

D Libraries documentation © Synesis Software Pty Ltd, 2002-2003