| ElementGetElementAsInt64 Method (Name) |
Returns the value of the named sub-element as a long.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.21.0.1
Syntaxpublic abstract long GetElementAsInt64(
Name name
)
Public MustOverride Function GetElementAsInt64 (
name As Name
) As Long
public:
virtual long long GetElementAsInt64(
Name^ name
) abstract
abstract GetElementAsInt64 :
name : Name -> int64
Parameters
- name
- Type: Bloomberglp.BlpapiName
The name of the required sub-element.
Return Value
Type:
Int64The value of the named sub-element as a long.
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.
|
Remarks
See Also