JAMS Developer Guide
GetUserNode(String,String,Boolean) Method


Genghis Namespace > Preferences Class > GetUserNode Method : GetUserNode(String,String,Boolean) Method
Represents the path the preferences are stored under. Equivalent to a directory path or a registry key path.
Important Note: The seperator character is slash ('/') NOT backslash ('\').
The name of the file that contains the user preferences.
True indicates that you are reading the value
Constructs a per-user preferences object from a path and filename.
Syntax
'Declaration
 
Public Overloads Shared Function GetUserNode( _
   ByVal path As System.String, _
   ByVal filename As System.String, _
   ByVal forReading As System.Boolean _
) As Preferences
'Usage
 
Dim path As System.String
Dim filename As System.String
Dim forReading As System.Boolean
Dim value As Preferences
 
value = Preferences.GetUserNode(path, filename, forReading)
public static Preferences GetUserNode( 
   System.string path,
   System.string filename,
   System.bool forReading
)

Parameters

path
Represents the path the preferences are stored under. Equivalent to a directory path or a registry key path.
Important Note: The seperator character is slash ('/') NOT backslash ('\').
filename
The name of the file that contains the user preferences.
forReading
True indicates that you are reading the value
Remarks
The path of the root node is "".
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Preferences Class
Preferences Members
Overload List