NetXP 3.0 Reference

Settings Methods

The methods of the Settings class are listed below. For a complete list of Settings class members, see the Settings Members topic.

Public Static (Shared) Methods

IsHexadecimal This returns true if the input is a string of valid hexadecimal digits 0-9, A-F, or a-f
ReadOverloaded. Read all the information in a class to the registry. This method iterates through all members of the specified class and reads them to the registry.
ReadFromFile Read from a file using binary serialization. Normally a call to this method would cast the return value to the correct type as in this example: settings = (Settings)Savior.ReadFromFile(FileName);
SaveOverloaded. Save all the information in a class to the registry. This method iterates through all members of the specified class and saves them to the registry.
SaveToFile Save settings to a file using binary serialization
ToStringOverloaded. Returns a list of all the fields and field types for the specified class Useful for debugging.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Overloaded. Returns a String that represents the current Object.

See Also

Settings Class | NETXP.Library Namespace