GetIntegerAttributeAsInteger function
Prototype: |
function GetIntegerAttributeAsInteger(const AttributeName: string; const NullValue: integer): integer; |
|
Description: |
Use the GetIntegerAttributeAsInteger function to obtain an integer value of the specified attribute as an integer. |
|
Syntax: |
variable := TScriptXMLElement.GetIntegerAttributeAsInteger(AttributeName, NullValue); |
|
Part |
Description |
|
variable |
A variable declared as an integer |
|
TScriptXMLElement |
A variable declared as an instance of the TScriptXMLElement class |
|
AttributeName |
A string parameter specifying the attribute of the given XML element |
|
NullValue |
a value that should be used in case the attribute value is null |
|
Return value: |
An integer value of the specified attribute as an integer |
|
See also:
GetRootElement; GetElementName; GetChildElements; GetFirstChildElement; GetElementText; GetElementInteger; GetElementDouble; GetElementBoolean; GetElementCDATA; HasAttribute; HasNoNullAttribute; GetStringAttribute; GetStringAttributeAsString; GetStringAttributeAsDateTime; GetIntegerAttribute; GetIntegerAttributeAsInteger; GetFloatAttribute; GetFloatAttributeAsVariant; GetFloatAttributeAsFloat; GetBooleanAttribute; GetFirstChildElementStringAttribute; GetFirstChildElementStringAttributeAsString; GetFirstChildElementIntegerAttribute; GetFirstChildElementIntegerAttributeAsInteger; GetFirstChildElementFloatAttribute; GetFirstChildElementFloatAttributeAsVariant; GetFirstChildElementFloatAttributeAsFloat; GetFirstChildElementBooleanAttribute; Name; FreeXMLElement; SaveValuesToTable; GetRootElementName; GetFirstChildElementText; GetFirstChildElementinteger; GetFirstChildElementDouble; GetFirstChildElementboolean
© 2024 IFER-Monitoring and Mapping Solutions