JAMS Developer Guide
GetUserRoot(String) Method


Genghis Namespace > Preferences Class > GetUserRoot Method : GetUserRoot(String) Method
The file that contains the XML preferences
Constructs a preferences object at the root of the passed XML File
Syntax
'Declaration
 
Public Overloads Shared Function GetUserRoot( _
   ByVal filename As System.String _
) As Preferences
'Usage
 
Dim filename As System.String
Dim value As Preferences
 
value = Preferences.GetUserRoot(filename)
public static Preferences GetUserRoot( 
   System.string filename
)

Parameters

filename
The file that contains the XML preferences

Return Value

A new Preferences object.
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