Share via


TrueFalseValue.FromBoolean(Boolean) Method

Definition

Returns a new TrueFalseValue object that was created from a Boolean value.

public static DocumentFormat.OpenXml.TrueFalseValue FromBoolean (bool value);
static member FromBoolean : bool -> DocumentFormat.OpenXml.TrueFalseValue
Public Shared Function FromBoolean (value As Boolean) As TrueFalseValue

Parameters

value
Boolean

A Boolean value to use to create a new TrueFalseValue object.

Returns

A TrueFalseValue that corresponds to the value parameter.

Applies to