Click or drag to resize
Element Methods

The Element type exposes the following members.

Methods
  NameDescription
Public methodAppendElement
If this Element is an array of Sequence or Choice Elements, appends a default initialized element to this element and return the appended element.
Public methodAppendValue(Boolean)
Appends the specified value to this array element.
Public methodAppendValue(Byte) Obsolete.
Appends the specified value to this array element. Deprecated. Arrays of byte arrays are not supported. This method will always throw an NotSupportedException.
Public methodAppendValue(Char)
Appends the specified value to this array element.
Public methodAppendValue(Double)
Appends the specified value to this array element.
Public methodAppendValue(Int32)
Appends the specified value to this array element.
Public methodAppendValue(Int64)
Appends the specified value to this array element.
Public methodAppendValue(Single)
Appends the specified value to this array element.
Public methodAppendValue(String)
Appends the specified value to this array element.
Public methodAppendValue(Constant)
Appends the specified value to this array element.
Public methodAppendValue(Datetime)
Appends the specified value to this array element.
Public methodAppendValue(Name)
Appends the specified value to this array element.
Public methodClone
Clone this element.
Public methodFindConstant(ConstantsList)
Finds the constant in a ConstantList that is equal to the value of this element.
Public methodFindConstant(ConstantsList, Int32)
Gets the constant in a ConstantList that is equal to the value at the specified index of this element.
Public methodGetChoice
Returns the selected choice if this is a choice type.
Public methodGetElement(Int32)
Returns the sub-element at the specified zero based position.
Public methodGetElement(String) Obsolete.
Returns the named sub-element, creating it if it doesn't exist and this element is modifiable. Deprecated, use GetElement(Name) instead.
Public methodGetElement(Name)
Returns the named sub-element, creating it if it doesn't exist and this element is modifiable.
Public methodGetElementAsBool(String) Obsolete.
Returns the value of the named sub-element as a boolean. Deprecated, use GetElementAsBool(Name) instead.
Public methodGetElementAsBool(Name)
Returns the value of the named sub-element as a boolean.
Public methodGetElementAsBytes(String) Obsolete.
Returns the value of the named sub-element as a byte array. Deprecated, use GetElementAsBytes(Name) instead.
Public methodGetElementAsBytes(Name)
Returns the value of the named sub-element as a byte array.
Public methodGetElementAsChar(String) Obsolete.
Returns the value of the named sub-element as a char. Deprecated, use GetElementAsChar(Name) instead.
Public methodGetElementAsChar(Name)
Returns the value of the named sub-element as a char.
Public methodGetElementAsDate(String) Obsolete.
Returns the value of the named sub-element as a Date. Deprecated, use GetElementAsDate(Name) instead.
Public methodGetElementAsDate(Name)
Returns the value of the named sub-element as a Date.
Public methodGetElementAsDatetime(String) Obsolete.
Returns the value of the named sub-element as a Datetime. Deprecated, use GetElementAsDatetime(Name) instead.
Public methodGetElementAsDatetime(Name)
Returns the value of the named sub-element as a Datetime.
Public methodGetElementAsFloat32(String) Obsolete.
Returns the value of the named sub-element as a float. Deprecated, use GetElementAsFloat32(Name) instead.
Public methodGetElementAsFloat32(Name)
Returns the value of the named sub-element as a float.
Public methodGetElementAsFloat64(String) Obsolete.
Returns the value of the named sub-element as a double. Deprecated, use GetElementAsFloat64(Name) instead.
Public methodGetElementAsFloat64(Name)
Returns the value of the named sub-element as a double.
Public methodGetElementAsInt32(String) Obsolete.
Returns the value of the named sub-element as an int. Deprecated, use GetElementAsInt32(Name) instead.
Public methodGetElementAsInt32(Name)
Returns the value of the named sub-element as an int.
Public methodGetElementAsInt64(String) Obsolete.
Returns the value of the named sub-element as a long. Deprecated, use GetElementAsInt64(Name) instead.
Public methodGetElementAsInt64(Name)
Returns the value of the named sub-element as a long.
Public methodGetElementAsName(String) Obsolete.
Returns the value of the named sub-element as a Name. Deprecated, use GetElementAsName(Name) instead.
Public methodGetElementAsName(Name)
Returns the value of the named sub-element as a Name.
Public methodGetElementAsString(String) Obsolete.
Returns the value of the named sub-element as a string. Deprecated, use GetElementAsString(Name) instead.
Public methodGetElementAsString(Name)
Returns the value of the named sub-element as a string.
Public methodGetElementAsTime(String) Obsolete.
Returns the value of the named sub-element as a Time. Deprecated, use GetElementAsTime(Name) instead.
Public methodGetElementAsTime(Name)
Returns the value of the named sub-element as a Time.
Public methodGetValue
Returns the value of this element as an object.
Public methodGetValue(Int32)
Returns the value of the element at the specified index as an object.
Public methodGetValueAsBool
Returns the value of this element as a boolean.
Public methodGetValueAsBool(Int32)
Returns the value of the element at the specified index as a boolean.
Public methodGetValueAsBytes
Returns the value of this element as a byte array.
Public methodGetValueAsBytes(Int32)
Returns the value of this element at the specified index as a byte array.
Public methodGetValueAsChar
Returns the value of this element as a char.
Public methodGetValueAsChar(Int32)
Returns the value of this element at the specified index as a char.
Public methodGetValueAsDate
Returns the value of this element as a Date.
Public methodGetValueAsDate(Int32)
Returns the value of this element at the specified index as a Date.
Public methodGetValueAsDatetime
Returns the value of this element as a Datetime.
Public methodGetValueAsDatetime(Int32)
Returns the value of this element at the specified index as a Datetime.
Public methodGetValueAsElement
Returns the value of this element as an Element.
Public methodGetValueAsElement(Int32)
Returns the value at the specified index in this element as an Element.
Public methodGetValueAsEnumeration
Returns the value of this element as a Enumeration constant.
Public methodGetValueAsEnumeration(Int32)
Returns the value of this element at the specified index as an Enumeration constant.
Public methodGetValueAsFloat32
Returns the value of this element as a float.
Public methodGetValueAsFloat32(Int32)
Returns the value of this element at the specified index as a float.
Public methodGetValueAsFloat64
Returns the value of this element as a double.
Public methodGetValueAsFloat64(Int32)
Returns the value of this element at the specified index as a double.
Public methodGetValueAsInt32
Returns the value of this element as an int.
Public methodGetValueAsInt32(Int32)
Returns the value of this element at the specified index as an int.
Public methodGetValueAsInt64
Returns the value of this element as a long.
Public methodGetValueAsInt64(Int32)
Returns the value of this element at the specified index as a long.
Public methodGetValueAsName
Returns the value of this element as a Enumeration constant.
Public methodGetValueAsName(Int32)
Returns the value of this element at the specified index as an Enumeration constant.
Public methodGetValueAsString
Returns the value of this element as a string.
Public methodGetValueAsString(Int32)
Returns the value of this element at the specified index as a string.
Public methodGetValueAsTime
Returns the value of this element as a Time.
Public methodGetValueAsTime(Int32)
Returns the value of this element at the specified index as a Time.
Public methodHasElement(String) Obsolete.
Returns true if this element contains an element with the specified name. Deprecated, use HasElement(Name) instead.
Public methodHasElement(Name)
Returns true if this element contains an element with the specified name.
Public methodHasElement(String, Boolean) Obsolete.
Returns true if this element contains an element with the specified name. Deprecated, use HasElement(Name, Boolean) instead.
Public methodHasElement(Name, Boolean)
Returns true if this element contains an element with the specified name.
Public methodIsEqualTo(Constant)
Gets true if the value this element is equal to the specified constant.
Public methodIsEqualTo(Constant, Int32)
Gets true if the value at the specified index of this element is equal to the specified constant.
Public methodIsNullValue
Gets true if the sub-element at the specified position in a sequence or choice element is null.
Public methodPrint(Stream)
Prints the contents of this element to the specified Stream.
Public methodPrint(TextWriter)
Prints the contents of this element to the specified TextWriter.
Public methodSetChoice(String) Obsolete.
Sets the named sub-element as the choice's selection. Deprecated, use SetChoice(Name) instead.
Public methodSetChoice(Name)
Sets the named sub-element as the choice's selection.
Public methodSetElement(String, Constant) Obsolete.
Sets the named sub-element to the specified value. Deprecated, use SetElement(Name, Constant) instead.
Public methodSetElement(String, Datetime) Obsolete.
Sets the named sub-element to the specified value. Deprecated, use SetElement(Name, Datetime) instead.
Public methodSetElement(String, Name) Obsolete.
Sets the named sub-element to the specified value. Deprecated, use SetElement(Name, Name) instead.
Public methodSetElement(String, Boolean) Obsolete.
Sets the named sub-element to the specified value. Deprecated, use SetElement(Name, Boolean) instead.
Public methodSetElement(String, Byte) Obsolete.
Public methodSetElement(String, Char) Obsolete.
Sets the named sub-element to the specified value. Deprecated, use SetElement(Name, Char) instead.
Public methodSetElement(String, Double) Obsolete.
Sets the named sub-element to the specified value. Deprecated, use SetElement(Name, Double) instead.
Public methodSetElement(String, Int32) Obsolete.
Sets the named sub-element to the specified value. Deprecated, use SetElement(Name, Int32) instead.
Public methodSetElement(String, Int64) Obsolete.
Sets the named sub-element to the specified value. Deprecated, use SetElement(Name, Int64) instead.
Public methodSetElement(String, Single) Obsolete.
Sets the named sub-element to the specified value. Deprecated, use SetElement(Name, Single) instead.
Public methodSetElement(String, String) Obsolete.
Sets the named sub-element to the specified value. Deprecated, use SetElement(Name, String) instead.
Public methodSetElement(Name, Constant)
Sets the named sub-element to the specified value.
Public methodSetElement(Name, Datetime)
Sets the named sub-element to the specified value.
Public methodSetElement(Name, Name)
Sets the named sub-element to the specified value.
Public methodSetElement(Name, Boolean)
Sets the named sub-element to the specified value.
Public methodSetElement(Name, Byte)
Public methodSetElement(Name, Char)
Sets the named sub-element to the specified value.
Public methodSetElement(Name, Double)
Sets the named sub-element to the specified value.
Public methodSetElement(Name, Int32)
Sets the named sub-element to the specified value.
Public methodSetElement(Name, Int64)
Sets the named sub-element to the specified value.
Public methodSetElement(Name, Single)
Sets the named sub-element to the specified value.
Public methodSetElement(Name, String)
Sets the named sub-element to the specified value.
Public methodSetValue(Boolean)
Sets the value of this element to the specified value.
Public methodSetValue(Byte)
Sets the value of this element to the specified value.
Public methodSetValue(Char)
Sets the value of this element to the specified value.
Public methodSetValue(Double)
Sets the value of this element to the specified value.
Public methodSetValue(Int32)
Sets the value of this element to the specified value.
Public methodSetValue(Int64)
Sets the value of this element to the specified value.
Public methodSetValue(Single)
Sets the value of this element to the specified value.
Public methodSetValue(String)
Sets the value of this element to the specified value.
Public methodSetValue(Constant)
Sets the value of this element to the specified value.
Public methodSetValue(Datetime)
Sets the value of this element to the specified value.
Public methodSetValue(Name)
Sets the value of this element to the specified value.
Public methodSetValue(Boolean, Int32)
Sets the value of this element to the specified value.
Public methodSetValue(Byte, Int32)
Sets the value of this element to the specified value.
Public methodSetValue(Char, Int32)
Sets the value of this element to the specified value.
Public methodSetValue(Double, Int32)
Sets the value of this element to the specified value.
Public methodSetValue(Int32, Int32)
Sets the value of this element to the specified value.
Public methodSetValue(Int64, Int32)
Sets the value of this element to the specified value.
Public methodSetValue(Single, Int32)
Sets the value of this element to the specified value.
Public methodSetValue(String, Int32)
Sets the value of this element to the specified value.
Public methodSetValue(Constant, Int32)
Sets the value of this element to the specified value.
Public methodSetValue(Datetime, Int32)
Sets the value of this element to the specified value.
Public methodSetValue(Name, Int32)
Sets the value of this element to the specified value.
Public methodToString
Return the string representation of this object.
(Overrides ObjectToString.)
Public methodValueIsNull Obsolete.
Gets true if the element at the specified position in a sequence or choice element is null.
Top
See Also