Bloomberg API for .NET
GetValueAsString Method (index)
NamespacesBloomberglp.BlpapiElementGetValueAsString(Int32)
Returns the value of this element at the specified index as a string.
Declaration Syntax
C#Visual BasicVisual C++
public abstract string GetValueAsString(
	int index
)
Public MustOverride Function GetValueAsString ( 
	index As Integer
) As String
public:
virtual String^ GetValueAsString(
	int index
) abstract
Parameters
index (Int32)
The index of the element whose value is requested.
Return Value
String
The value of the element at the specified index as a string.
Remarks
If the datatype of the element at the specified index is not string, this method attempts to convert it to a string.
Exceptions
ExceptionCondition
IndexOutOfRangeException index >= NumValues.
InvalidConversionException The value of the element at the specified index cannot be converted to a string.

Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.7.4.1