EventFormatterSetElementNull Method (Name) |
Creates a null element with the specified 'name'. Note that whether
or not fields containing null values are published to subscribers
is dependent upon details of the service and schema configuration.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.11.1
Syntax public void SetElementNull(
Name name
)
Public Sub SetElementNull (
name As Name
)
public:
void SetElementNull(
Name^ name
)
member SetElementNull :
name : Name -> unit
Parameters
- name
- Type: Bloomberglp.BlpapiName
The name of the subfield to be nulled.
Exceptions Exception | Condition |
---|
InvalidOperationException |
The operating stack is empty.
|
NotFoundException |
The current element in the stack does not contain the specified
message type.
|
NotSupportedException |
The current element in the stack is not a sequence or choice.
|
InvalidConversionException |
The specified 'name' identifies a sub-element whose value cannot be
set to 'null'.
|
See Also