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.22.0.1
Syntax [ObsoleteAttribute("Deprecated, use SetElementNull(Name) instead.")]
public void SetElementNull(
string name
)
<ObsoleteAttribute("Deprecated, use SetElementNull(Name) instead.")>
Public Sub SetElementNull (
name As String
)
public:
[ObsoleteAttribute(L"Deprecated, use SetElementNull(Name) instead.")]
void SetElementNull(
String^ name
)
[<ObsoleteAttribute("Deprecated, use SetElementNull(Name) instead.")>]
member SetElementNull :
name : string -> unit
Parameters
- name
- Type: SystemString
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