Inner Drive Extensible Architecture
C#
Show/Hide TOC
Xml
Help
Add
Attribute Method
Adds an
XmlAttribute
to the
parent
node.
Definition
Namespace:
InnerDrive.Core
Assembly:
InnerDrive.Core (in InnerDrive.Core.dll) Version: 5.2.9017.0
C#
Copy
public
static
XmlNode
AddAttribute
(
string
name
,
string
?
text
,
XmlNode
parent
)
Parameters
name
String
The name of the
XmlAttribute
to add.
text
String
The
InnerText
the
XmlAttribute
will have.
parent
XmlNode
The
XmlNode
to which you want to add this
XmlAttribute
.
Return Value
XmlNode
An
XmlAttribute
.
Exceptions
ArgumentNullException
Thrown if
parent
is
null
.
See Also
Reference
XmlHelp Class
InnerDrive.Core Namespace
In This Article
Definition
Parameters
Return Value
Exceptions
See Also