Share via


BooleanValue.Implicit Operator

Definition

Overloads

Implicit(Boolean to BooleanValue)

Initializes a new instance of the BooleanValue class by implicitly converting the supplied Boolean value.

Implicit(BooleanValue to Boolean)

Implicitly converts the specified value to a Boolean value.

Implicit(Boolean to BooleanValue)

Initializes a new instance of the BooleanValue class by implicitly converting the supplied Boolean value.

public static implicit operator DocumentFormat.OpenXml.BooleanValue (bool value);
static member op_Implicit : bool -> DocumentFormat.OpenXml.BooleanValue
Public Shared Widening Operator CType (value As Boolean) As BooleanValue

Parameters

value
Boolean

The Boolean value.

Returns

A new BooleanValue instance with the value.

Applies to

Implicit(BooleanValue to Boolean)

Implicitly converts the specified value to a Boolean value.

public static implicit operator bool (DocumentFormat.OpenXml.BooleanValue xmlAttribute);
public static implicit operator bool (DocumentFormat.OpenXml.BooleanValue value);
static member op_Implicit : DocumentFormat.OpenXml.BooleanValue -> bool
static member op_Implicit : DocumentFormat.OpenXml.BooleanValue -> bool
Public Shared Widening Operator CType (xmlAttribute As BooleanValue) As Boolean
Public Shared Widening Operator CType (value As BooleanValue) As Boolean

Parameters

xmlAttributevalue
BooleanValue

Returns

The converted Boolean value.

Exceptions

Thrown when value is null.

Applies to