AODL.Document.Content.OfficeEvents.EventListener.CreateAttribute C# (CSharp) Method

CreateAttribute() protected method

Create a XmlAttribute for propertie XmlNode.
protected CreateAttribute ( string name, string text, string prefix ) : void
name string The attribute name.
text string The attribute value.
prefix string The namespace prefix.
return void
		protected void CreateAttribute(string name, string text, string prefix)
		{
			XmlAttribute xa = this.Document.CreateAttribute(name, prefix);
			xa.Value = text;
			this.Node.Attributes.Append(xa);
		}