JAMS Developer Guide
GetUserNode(String,String) Method


Genghis Namespace > Preferences Class > GetUserNode Method : GetUserNode(String,String) 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.
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 _
) As Preferences
'Usage
 
Dim path As System.String
Dim filename As System.String
Dim value As Preferences
 
value = Preferences.GetUserNode(path, filename)
public static Preferences GetUserNode( 
   System.string path,
   System.string filename
)

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.
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