ElementGetElementAsInt32 Method (String) |
Note: This API is now obsolete.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.4.1
Syntax [ObsoleteAttribute("Deprecated, use GetElementAsInt32(Name) instead.")]
public abstract int GetElementAsInt32(
string name
)
<ObsoleteAttribute("Deprecated, use GetElementAsInt32(Name) instead.")>
Public MustOverride Function GetElementAsInt32 (
name As String
) As Integer
public:
[ObsoleteAttribute(L"Deprecated, use GetElementAsInt32(Name) instead.")]
virtual int GetElementAsInt32(
String^ name
) abstract
[<ObsoleteAttribute("Deprecated, use GetElementAsInt32(Name) instead.")>]
abstract GetElementAsInt32 :
name : string -> int
Parameters
- name
- Type: SystemString
The name of the required sub-element.
Return Value
Type:
Int32The value of the named sub-element as an int.
Exceptions Exception | Condition |
---|
NotFoundException |
The named sub-element does not exist.
|
InvalidConversionException |
The value of the named sub-element cannot be converted to an int.
|
NotSupportedException |
Called on non-complex type.
|
Remarks See Also