Click or drag to resize
ConstantsList Interface
Represents a list of Constant objects in the schema. Implements generic IDictionary interface.

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.10.1
Syntax
public interface ConstantsList : IDictionary<string, Constant>, 
	ICollection<KeyValuePair<string, Constant>>, IEnumerable<KeyValuePair<string, Constant>>, 
	IEnumerable

The ConstantsList type exposes the following members.

Properties
  NameDescription
Public propertyDatatype
Gets the Datatype used to represent the value of this ConstantsList
Public propertyDescription
Gets a String containing a human readable description of this ConstantsList.
Public propertyItem
Gets the constant specified by name.
Public propertyName
Gets the symbolic name of this ConstantsList.
Public propertyStatus
Gets the status of this ConstantList.
Public propertyUserData
Gets or sets the user data associated with this ConstantList.
Top
Methods
  NameDescription
Public methodContainsKey
This is the same as ContainsKey(string).
Public methodPrint(Stream)
Print the constant to the Stream.
Public methodPrint(TextWriter)
Print the constant with the help of the TextWriter.
Public methodTryGetValue
This is the same as TryGetValue(string, Constatant).
Top
Remarks
As well as the list of Constant objects this class also provides access to the symbolic name, description and status of the ConstantsList. All Constant objects in a ConstantsList are of the same Datatype. ConstantLists are read-only and always created by the API, never by the application. This is a read-only object. Any IDictionary writing methods throws InvalidOperation exception.
Thread Safety
ConstantsList is safe for multithreaded operations except for SetUserData and Userdata methods.
See Also