Click or drag to resize
EventFormatterSetElementNull Method (String)

Note: This API is now obsolete.

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. [Obsolete("Deprecated, use SetElementNull(Name) instead.")]

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.11.1
Syntax
[ObsoleteAttribute("Deprecated, use SetElementNull(Name) instead.")]
public void SetElementNull(
	string name
)

Parameters

name
Type: SystemString
The name of the subfield to be nulled.
Exceptions
ExceptionCondition
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