JAMS 6.x Help
Preferences Class Members
Fields  Properties  Methods 


The following tables list the members exposed by Preferences.

Protected Fields
 NameDescription
Protected Fieldm_CurrentStoreThe current store  
Protected Fieldm_PathThe current path  
Top
Public Properties
 NameDescription
Public PropertyPathGets and sets the current path.  
Top
Protected Properties
 NameDescription
Protected PropertyRootStoreReturns the root dictionary of the store.  
Protected PropertyStoreModifiedGets and sets a boolean that indicates that the store has been modified.  
Top
Public Methods
 NameDescription
Public MethodCloseDisposes of any resources.  
Public MethodCopyToCopies current xml preferences to a new file name and returns a new Preferences object for the file.  
Public MethodCreateSubKeyCreate or opens a SubKey in the current key and returns it as a new Preferences.  
Public MethodDeletePropertyDeletes a property from the store.  
Public MethodDeleteSubKeyTreeDelete the specified subkey and all values and subkeys below it.  
Public MethodDispose  
Public MethodFlushFlushes changes out to the permanent store.  
Public MethodGetBooleanGets a value as a boolean  
Public MethodGetDoubleGets a value a a Double  
Public MethodGetEnumeratorReturns an IEnumerator to allow a subkey to be enumerated.  
Public MethodGetGuidGets a value as a Guid  
Public MethodGetInt32Gets a value as an int  
Public MethodGetInt64Gets a value as an int64  
Public Methodstatic (Shared in Visual Basic)GetMemoryRootConstructs a memory backed Preferences root.  
Public MethodGetPropertyOverloaded. Gets a property  
Public MethodGetSingleGets a value a a Single  
Public MethodGetStringGets a value as a string  
Public MethodGetSubnodeOpens a new subnode to store settings under.  
Public Methodstatic (Shared in Visual Basic)GetUserNodeOverloaded. Constructs a per-user preferences object from a class.  
Public Methodstatic (Shared in Visual Basic)GetUserRootOverloaded. Constructs a preferences object at the root of the per-user settings.  
Public MethodOpenSubKeyGets a SubKey in the current key and returns it as a new Preferences.  
Public MethodSetPropertySets a property  
Top
Protected Methods
 NameDescription
Protected MethodDeserializeOverloaded. Deserializes to the userStore hashtable from an isolated storage stream.  
Protected MethodDictToPreferences  
Protected MethodPreferencesFromDictCreate a new Preferences and sets the root dictionary to the one passed.  
Protected MethodSerializeSerializes the userStore hashtable to an stream.  
Top
See Also

Reference

Preferences Class
Genghis Namespace

Send Feedback