Scripts/Accounting/AccountComment.cs
/// <summary>
/// Serializes this AccountComment instance to an XmlTextWriter.
/// </summary>
/// <param name="xml">The XmlTextWriter instance from which to serialize.</param>
Serializes this AccountComment instance to an XmlTextWriter.
Serializes this AccountComment instance to an XmlTextWriter .
public void Save( XmlTextWriter xml )
		{
			xml.WriteStartElement( "comment" );
			xml.WriteAttributeString( "addedBy", m_AddedBy );
			xml.WriteAttributeString( "lastModified", XmlConvert.ToString( m_LastModified, XmlDateTimeSerializationMode.Local ) );
			xml.WriteString( m_Content );
			xml.WriteEndElement();
		}
public void Save ( XmlTextWriter xml ) { xml . WriteStartElement ( " " ) ; xml . WriteAttributeString ( " " , m_AddedBy ) ; xml . WriteAttributeString ( " " , XmlConvert . ToString ( m_LastModified , XmlDateTimeSerializationMode . Local ) ) ; xml . WriteString ( m_Content ) ; xml . WriteEndElement ( ) ; }
Serializes this AccountComment instance to an XmlTextWriter.
Serializes this AccountComment instance to an XmlTextWriter .
xml
XmlTextWriter
The XmlTextWriter instance from which to serialize.
The XmlTextWriter instance from which to serialize .