AttributeProxy.getLong

Returns the value of the first attribute in the element of which this proxy object was received, which matches the given name.

struct AttributeProxy
long
getLong
(
T[] name
,
long aDefault = 0
)

Parameters

name T[]

the name of the attribute

aDefault long

the default return value

Return Value

Type: long

the value of the attribute if it was found and could be converted to a long, otherwise aDefault.

Meta