| IMessageFormatterSetElement Method (Name, String) |
Sets the element with the specified
name to the
specified
value in the current messages
referenced by this
IMessageFormatter.
Namespace:
Bloomberglp.Blpapi.Test
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.16.0.1
Syntaxvoid SetElement(
Name name,
string value
)
Sub SetElement (
name As Name,
value As String
)
void SetElement(
Name^ name,
String^ value
)
abstract SetElement :
name : Name *
value : string -> unit
Parameters
- name
- Type: Bloomberglp.BlpapiName
- value
- Type: SystemString
Exceptions| Exception | Condition |
|---|
| ArgumentException |
Thrown when the name is invalid for the current
message or if the element identified by name
has already been set.
|
| ArgumentNullException |
Thrown when name or value
is null.
|
See Also