/** * Returns the String representation of the XmpArray. * @return a String representation */ public override String ToString() { StringBuilder buf = new StringBuilder("<"); buf.Append(type); buf.Append('>'); foreach (String s in this) { buf.Append("<rdf:li>"); buf.Append(XmpSchema.Escape(s)); buf.Append("</rdf:li>"); } buf.Append("</"); buf.Append(type); buf.Append('>'); return(buf.ToString()); }
/** * Add a language. */ public void AddLanguage(String language, String value) { this[language] = XmpSchema.Escape(value); }