Beispiel #1
0
        public static void Main(string[] args)
        {
            XMLAttribute attribute = new XMLAttribute("id", "testValue");

            System.Console.WriteLine(attribute);
        }
Beispiel #2
0
        /// <summary>
        /// Add attribute. </summary>
        /// <param name="attribute"> </param>
//JAVA TO C# CONVERTER WARNING: 'final' parameters are not allowed in .NET:
//ORIGINAL LINE: public void addAttribute(final XMLAttribute attribute)
        public virtual void addAttribute(XMLAttribute attribute)
        {
            this.attributes.Add(attribute);
        }