Bloomberg API for .NET
SetElementNull Method (name)
NamespacesBloomberglp.BlpapiEventFormatterSetElementNull(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.
Declaration Syntax
C#Visual BasicVisual C++
public void SetElementNull(
	Name name
)
Public Sub SetElementNull ( 
	name As Name
)
public:
void SetElementNull(
	Name^ name
)
Parameters
name (Name)
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'.

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