API version 1.5.2
Assembly: vsmExternalBase (in vsmExternalBase.dll) Version: 1.6.0.0
Returns the field values as an System.Object. User must cast the return value to T[].
[This is preliminary documentation and is subject to change.]
Static utility function "GetXmlField", provided for general use to obtain a field value from
an XML document.
Namespace: VSignal.ExternalBase
Assembly: vsmExternalBase (in vsmExternalBase.dll) Version: 1.6.0.0
Syntax
public static Object GetXmlField( XmlElement root, string fieldName, bool isRequired = true )
Parameters
- root
- Type: System.XmlXmlElement
Specifies the XML root element. - fieldName
- Type: SystemString
Specifies the name of the field to be updated. - isRequired (Optional)
- Type: SystemBoolean
Specifies True if the field is required. An exception will be thrown if a required field is missing in the XML document. Default is true.
Return Value
Type: ObjectReturns the field values as an System.Object. User must cast the return value to T[].
See Also