The IXmlElement type exposes the following members.

Methods

  NameDescription
Public methodAddAttribute
Provides a means to add a new attribute value.
Public methodAddElement
Create a new element and add it as a child element to this element.
Public methodClone
Creates a new object that is a copy of the current instance.
(Inherited from ICloneable.)
Public methodEnsureElement
Ensure that a child element exists.
Public methodEquals
Compare this XML value with another XML value for equality.
(Inherited from IXmlValue.)
Public methodFindElement
Find a child element with the specified '/'-delimited path.
Public methodGetAttribute
Get an attribute value.
Public methodGetBinary()()()()
Get the value as Binary.
(Inherited from IXmlValue.)
Public methodGetBinary(Binary)
Get the value as Binary.
(Inherited from IXmlValue.)
Public methodGetBoolean()()()()
Get the value as a boolean.
(Inherited from IXmlValue.)
Public methodGetBoolean(Boolean)
Get the value as a boolean.
(Inherited from IXmlValue.)
Public methodGetDateTime()()()()
Get the value as a DateTime.
(Inherited from IXmlValue.)
Public methodGetDateTime(DateTime)
Get the value as a DateTime.
(Inherited from IXmlValue.)
Public methodGetDecimal()()()()
Get the value as a decimal.
(Inherited from IXmlValue.)
Public methodGetDecimal(Decimal)
Get the value as a decimal.
(Inherited from IXmlValue.)
Public methodGetDouble()()()()
Get the value as a double.
(Inherited from IXmlValue.)
Public methodGetDouble(Double)
Get the value as a double.
(Inherited from IXmlValue.)
Public methodGetElement
Get a child element.
Public methodGetElements
Get an enumerator of child elements that have a specific name.
Public methodGetHashCode
Provide a hash value for this XML value.
(Inherited from IXmlValue.)
Public methodGetInt()()()()
Get the value as an int.
(Inherited from IXmlValue.)
Public methodGetInt(Int32)
Get the value as an int.
(Inherited from IXmlValue.)
Public methodGetLong()()()()
Get the value as a long.
(Inherited from IXmlValue.)
Public methodGetLong(Int64)
Get the value as a long.
(Inherited from IXmlValue.)
Public methodGetSafeAttribute
Get an attribute value, and return a temporary value if the attribute does not exist.
Public methodGetSafeElement
Return the specified child element using the same path notation as supported by FindElement(String), but return a read-only element if the specified element does not exist.
Public methodGetString()()()()
Get the value as a string.
(Inherited from IXmlValue.)
Public methodGetString(String)
Get the value as a string.
(Inherited from IXmlValue.)
Public methodSetAttribute
Set an attribute value.
Public methodSetBinary
Set the Binary value.
(Inherited from IXmlValue.)
Public methodSetBoolean
Set the boolean value.
(Inherited from IXmlValue.)
Public methodSetDateTime
Set the value as a DateTime.
(Inherited from IXmlValue.)
Public methodSetDecimal
Set the decimal value.
(Inherited from IXmlValue.)
Public methodSetDouble
Set the double value.
(Inherited from IXmlValue.)
Public methodSetInt
Set the int value.
(Inherited from IXmlValue.)
Public methodSetLong
Set the long value.
(Inherited from IXmlValue.)
Public methodSetString
Set the string value.
(Inherited from IXmlValue.)
Public methodToString
Format the XML value into a string in a display format.
(Inherited from IXmlValue.)
Public methodWriteValue
Write the value as it will appear in XML.
(Inherited from IXmlValue.)
Public methodWriteXml
Write the element as it will appear in XML.

Properties

  NameDescription
Public propertyAbsolutePath
Get the '/'-delimited path of the element starting from the root element.
Public propertyAttributes
Get the dictionary of all attributes.
Public propertyComment
Get or set the text of any comments that are in the XML element.
Public propertyElementList
Get the list of all child elements.
Public propertyIsAttribute
Determine if this value is an element attribute.
(Inherited from IXmlValue.)
Public propertyIsContent
Determine if this value is an element's content.
(Inherited from IXmlValue.)
Public propertyIsEmpty
Determine if the value is empty.
(Inherited from IXmlValue.)
Public propertyIsMutable
Determine if this value can be modified.
(Inherited from IXmlValue.)
Public propertyName
Get or set the name of the element.
Public propertyParent
Get or set the parent element of this value.
(Inherited from IXmlValue.)
Public propertyRoot
Get the root element.
Public propertyValue
Get the value as an object.
(Inherited from IXmlValue.)

See Also