private 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 |
private void CreateAttribute(string name, string text, string prefix)
{
XmlAttribute xa = this.Document.CreateAttribute(name, prefix);
xa.Value = text;
this.Node.Attributes.Append(xa);
}