Click here to Skip to main content
15,881,092 members
Articles / Mobile Apps / Windows Mobile

Compact Framework Configuration XML File Read & Write like appSettings

Rate me:
Please Sign up or sign in to vote.
3.00/5 (1 vote)
13 Jan 2010CPOL2 min read 36.8K   922   20  
How to use an XML file to read and write aplication settings in a Window Mobile development
<?xml version="1.0"?>
<doc>
<assembly>
<name>
CFNET-AppSettings
</name>
</assembly>
<members>
<member name="M:CFNET_AppSettings.MyAppSettings.#ctor(System.String,System.String)">
	<summary>
 Load an .xml configuration file, if not exits code will create one
 </summary>
	<param name="StrPath">If not specified, the constructor will look at root path for</param>
	<param name="StrFilename">If not specified, AppSettings.xml will be used</param>
	<remarks></remarks>
</member><member name="M:CFNET_AppSettings.MyAppSettings.SaveXmlDefaultConfigurationFile(System.String,System.String)">
	<summary>
 Create and Save a default configuration Xml file based on a easily specific or default defined xml string
 </summary>
	<param name="FilePath">The fullpath including filename.xml to save to</param>
	<param name="XmlConfigurationFileString">If not specified, then will use the XmlDefaultConfigurationFileString</param>
	<returns>True if succesfull created</returns>
	<remarks></remarks>
</member><member name="T:CFNET_AppSettings.MyAppSettings">
	<summary>
 Useful to load and store data aplication configuration (settings or any other)
 Specially in Compact Framework development SmartDevice applications
 More fast than using SQLCE client, and also ore lighweight and more compatible
 </summary>
	<remarks>
 By Alejandro Barrada Martín
 Some pieces extracted from other sources: pbrroks at http://www.codeproject.com/KB/mobile/SaveSettings.aspx, Microsoft at http://msdn.microsoft.com/en-us/library/aa446526.aspx
 </remarks>
</member><member name="P:CFNET_AppSettings.My.Resources.Resources.ResourceManager">
	<summary>
   Returns the cached ResourceManager instance used by this class.
</summary>
</member><member name="P:CFNET_AppSettings.My.Resources.Resources.Culture">
	<summary>
   Overrides the current thread's CurrentUICulture property for all
   resource lookups using this strongly typed resource class.
</summary>
</member><member name="T:CFNET_AppSettings.My.Resources.Resources">
	<summary>
   A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
</members>
</doc>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Spain Spain
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions