[This is preliminary documentation and is subject to change.]

The Settings type exposes the following methods.

Methods

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
AttributeExists(String, array<Object>[]()[])
Returns True if specified attribute exists.
Clone()()()
CopyElement(array<Object>[]()[], array<Object>[]()[], array<AttributeInfo>[]()[])
Copies and changes specified element to another path.
ElementExists(array<Object>[]()[])
Returns True if specified element exists.
EnumarateElements(array<Object>[]()[])
Enumaretes elements at specified path.
GetAttribute(Boolean, String, array<Object>[]()[])
Reads attribute at specified path.
GetAttribute(Int32, String, array<Object>[]()[])
Reads attribute at specified path.
GetAttribute(Single, String, array<Object>[]()[])
Reads attribute at specified path.
GetAttribute(String, String, array<Object>[]()[])
Reads attribute at specified path.
GetElement(Boolean, array<Object>[]()[])
Reads element at specified path. Element is created if not exist.
GetElement(Int32, array<Object>[]()[])
Reads element at specified path. Element is created if not exist.
GetElement(Single, array<Object>[]()[])
Reads element at specified path. Element is created if not exist.
GetElement(String, array<Object>[]()[])
Reads element at specified path. Element is created if not exist.
GetEnumAttribute<(Of <(T>)>)(T, String, array<Object>[]()[])
Reads attribute at specified path.
GetEnumElement<(Of <(T>)>)(T, array<Object>[]()[])
Reads element at specified path. Element is created if not exist.
Load()()()
Loads settings from XML file.
RemoveAttribute(String, array<Object>[]()[])
Removes attribute from specified element if exists.
RemoveElement(array<Object>[]()[])
Removes specified element and all it's children if exists.
Save()()()
Saves settings as XML file.
SetAttribute(Object, String, array<Object>[]()[])
Writes attribute to specified node.
SetElement(Object, array<Object>[]()[])
Writes element at specified path.

See Also