Returns the value of the named sub-element as a long.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public abstract long GetElementAsInt64( string name )
Public MustOverride Function GetElementAsInt64 ( name As String ) As Long
public: virtual long long GetElementAsInt64( String^ name ) abstract
Parameters
- name (String)
- 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