Returns the value of the named sub-element as a long.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public abstract long GetElementAsInt64( Name name )
Public MustOverride Function GetElementAsInt64 ( name As Name ) As Long
public: virtual long long GetElementAsInt64( Name^ name ) abstract
Parameters
- name (Name)
- The name of the required sub-element.
Return Value
Int64
The value of the named sub-element as a long.
The value of the named sub-element as a long.
Remarks
Same as calling GetElement(name).
GetValueAsInt64().
Exceptions
Exception | Condition |
---|---|
NotFoundException |
The named sub-element does not exist.
|
InvalidConversionException |
The value of the named sub-element cannot be converted to a long.
|
NotSupportedException |
Called on non-complex type.
|
Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.8.10.1