StauffConsulting.Essentials.| C#: |
public class NiceRegistryKey :
object
|
| VB: |
Public Class NiceRegistryKey
Inherits Object
|
| Type Ancestry: | Object |
NiceRegistryKey |
constructor |
static | NiceRegistryKey |
CurrentUser |
Represents the top-level CurrentUser registry key. |
static | NiceRegistryKey |
LocalMachine |
Represents the top-level LocalMachine registry key. |
readonly | RegistryKey |
MSregKey |
Microsoft's registry key object. |
| string |
FullName |
Returns the full name of the registry key. |
| string |
ShortName |
Returns the name of just this registry key, relative to its parent. |
| C#: |
NiceRegistryKey (Microsoft.Win32.RegistryKey msRegKey)
|
| VB: |
Sub New(ByVal msRegKey As Microsoft.Win32.RegistryKey)
|
Parameters
msRegKey |
| C#: |
readonly static StauffConsulting.Essentials.NiceRegistryKey CurrentUser;
|
| VB: |
ReadOnly Shared CurrentUser As StauffConsulting.Essentials.NiceRegistryKey
|
| C#: |
readonly static StauffConsulting.Essentials.NiceRegistryKey LocalMachine;
|
| VB: |
ReadOnly Shared LocalMachine As StauffConsulting.Essentials.NiceRegistryKey
|
| C#: |
readonly Microsoft.Win32.RegistryKey MSregKey;
|
| VB: |
ReadOnly MSregKey As Microsoft.Win32.RegistryKey
|
| C#: |
string FullName
|
| VB: |
Property FullName() As String
|
Returns the full name of the registry key.
| C#: |
string ShortName
|
| VB: |
Property ShortName() As String
|
Returns the name of just this registry key, relative to its parent.
| C#: |
NiceRegistryKey CreateSubKey(string nameOrPath)
|
| VB: |
Function CreateSubKey(ByVal nameOrPath As String) As NiceRegistryKey
|
Parameters
nameOrPath |
| C#: |
Void DeleteSubKey(string nameOrPath,
bool throwOnMissingSubkey)
|
| VB: |
Function DeleteSubKey(ByVal nameOrPath As String, ByVal throwOnMissingSubkey As Boolean) As Void
|
Parameters
nameOrPath | |
throwOnMissingSubkey |
| C#: |
Void DeleteSubKeyTree(string nameOrPath)
|
| VB: |
Function DeleteSubKeyTree(ByVal nameOrPath As String) As Void
|
Parameters
nameOrPath |
| C#: |
Void DeleteValue(string nameOrPath,
bool throwOnMissingValue)
|
| VB: |
Function DeleteValue(ByVal nameOrPath As String, ByVal throwOnMissingValue As Boolean) As Void
|
Parameters
nameOrPath | |
throwOnMissingValue |
| C#: |
Boolean GetBoolValue(string name,
bool defaultValue)
|
| VB: |
Function GetBoolValue(ByVal name As String, ByVal defaultValue As Boolean) As [Boolean]
|
Parameters
name | |
defaultValue |
| C#: |
Boolean GetBoolValue(string name)
|
| VB: |
Function GetBoolValue(ByVal name As String) As [Boolean]
|
Parameters
name |
| C#: |
Color GetColorValue(string name)
|
| VB: |
Function GetColorValue(ByVal name As String) As Color
|
Parameters
name |
| C#: |
Color GetColorValue(string name,
System.Drawing.Color defaultValue)
|
| VB: |
Function GetColorValue(ByVal name As String, ByVal defaultValue As System.Drawing.Color) As Color
|
Parameters
name | |
defaultValue |
| C#: |
Decimal GetDecimalValue(string name,
decimal defaultValue)
|
| VB: |
Function GetDecimalValue(ByVal name As String, ByVal defaultValue As Decimal) As [Decimal]
|
Parameters
name | |
defaultValue |
| C#: |
Decimal GetDecimalValue(string name)
|
| VB: |
Function GetDecimalValue(ByVal name As String) As [Decimal]
|
Parameters
name |
| C#: |
Object GetEnumValue(string name,
System.Type enumType,
object defaultValue)
|
| VB: |
Function GetEnumValue(ByVal name As String, ByVal enumType As System.Type, ByVal defaultValue As Object) As [Object]
|
Parameters
name | |
enumType | |
defaultValue |
| C#: |
Object GetEnumValue(string name,
System.Type enumType)
|
| VB: |
Function GetEnumValue(ByVal name As String, ByVal enumType As System.Type) As [Object]
|
Parameters
name | |
enumType |
| C#: |
Font GetFontValue(string namePrefix,
System.Drawing.Font defaultValue)
|
| VB: |
Function GetFontValue(ByVal namePrefix As String, ByVal defaultValue As System.Drawing.Font) As Font
|
Parameters
namePrefix | |
defaultValue |
| C#: |
Font GetFontValue(string namePrefix)
|
| VB: |
Function GetFontValue(ByVal namePrefix As String) As Font
|
Parameters
namePrefix |
| C#: |
Int32 GetIntValue(string name)
|
| VB: |
Function GetIntValue(ByVal name As String) As Int32
|
Parameters
name |
| C#: |
Int32 GetIntValue(string name,
int defaultValue)
|
| VB: |
Function GetIntValue(ByVal name As String, ByVal defaultValue As Integer) As Int32
|
Parameters
name | |
defaultValue |
| C#: |
String GetStringValue(string name)
|
| VB: |
Function GetStringValue(ByVal name As String) As [String]
|
Parameters
name |
| C#: |
String GetStringValue(string name,
string defaultValue)
|
| VB: |
Function GetStringValue(ByVal name As String, ByVal defaultValue As String) As [String]
|
Parameters
name | |
defaultValue |
| C#: |
String[] GetSubKeyNames()
|
| VB: |
Function GetSubKeyNames() As [String]()
|
| C#: |
String[] GetValueNames()
|
| VB: |
Function GetValueNames() As [String]()
|
| C#: |
NiceRegistryKey OpenSubKey(string nameOrPath,
bool writable)
|
| VB: |
Function OpenSubKey(ByVal nameOrPath As String, ByVal writable As Boolean) As NiceRegistryKey
|
Parameters
nameOrPath | |
writable |
| C#: |
NiceRegistryKey OpenSubKey(string nameOrPath)
|
| VB: |
Function OpenSubKey(ByVal nameOrPath As String) As NiceRegistryKey
|
Parameters
nameOrPath |
| C#: |
Void SetBoolValue(string name,
bool value)
|
| VB: |
Function SetBoolValue(ByVal name As String, ByVal value As Boolean) As Void
|
Parameters
name | |
value |
| C#: |
Void SetColorValue(string name,
System.Drawing.Color value)
|
| VB: |
Function SetColorValue(ByVal name As String, ByVal value As System.Drawing.Color) As Void
|
Parameters
name | |
value |
| C#: |
Void SetDecimalValue(string name,
decimal value)
|
| VB: |
Function SetDecimalValue(ByVal name As String, ByVal value As Decimal) As Void
|
Parameters
name | |
value |
| C#: |
Void SetEnumValue(string name,
object value)
|
| VB: |
Function SetEnumValue(ByVal name As String, ByVal value As Object) As Void
|
Parameters
name | |
value |
| C#: |
Void SetFontValue(string namePrefix,
System.Drawing.Font value)
|
| VB: |
Function SetFontValue(ByVal namePrefix As String, ByVal value As System.Drawing.Font) As Void
|
Parameters
namePrefix | |
value |
| C#: |
Void SetIntValue(string name,
int value)
|
| VB: |
Function SetIntValue(ByVal name As String, ByVal value As Integer) As Void
|
Parameters
name | |
value |
| C#: |
Void SetStringValue(string name,
string value)
|
| VB: |
Function SetStringValue(ByVal name As String, ByVal value As String) As Void
|
Parameters
name | |
value |