Click or drag to resize
EmberReaderReadContentsAsBoolean Method
Reads the contents of the current data value as a Boolean.

Namespace: Lawo.EmberPlusSharp.Ember
Assembly: Lawo.EmberPlusSharp (in Lawo.EmberPlusSharp.dll) Version: 1.4.1707.27006
Syntax
C#
public bool ReadContentsAsBoolean()

Return Value

Type: Boolean
Exceptions
ExceptionCondition
EmberExceptionAn error occurred while parsing the EmBER-encoded data, see Message for more information.
InvalidOperationException
  • The value of InnerNumber is not equal to Boolean, or
  • The contents of the current data value has already been read.
ObjectDisposedExceptionDispose has been called.
Bibliography
See Also