Pregunta

Is there any similar datatype that I can use to save data in C# in the same way it is saved in TBXML Objective C?

¿Fue útil?

Solución

Googling TBXML shows an XML parser. If this is the case, C# does have XML-parsing capabilities in the System.Xml namespace.

Otros consejos

You can store (virtually) any datatype using XmlSerializer see http://msdn.microsoft.com/en-us/library/system.xml.serialization.xmlserializer.aspx

You can specify whether a property of an object is to be stored using property attributes otherwise the serializer will use reflection to store the whole object.

See http://www.codeproject.com/Articles/14064/Using-the-XmlSerializer-Attributes for a decent tutorial

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top