iTextSharp.text.xml.xmp.XmpSchema.Escape C# (CSharp) 메소드

Escape() 공개 정적인 메소드

public static Escape ( String content ) : String
content String
리턴 String
        public static String Escape(String content)
        {
            return XMLUtil.EscapeXML(content, false);
        }

Usage Example

예제 #1
0
        /**
         * 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());
        }
All Usage Examples Of iTextSharp.text.xml.xmp.XmpSchema::Escape