Share via


BooleanValue.ToBoolean(BooleanValue) Method

Definition

Returns the Boolean representation of a BooleanValue object.

public static bool ToBoolean (DocumentFormat.OpenXml.BooleanValue xmlAttribute);
public static bool ToBoolean (DocumentFormat.OpenXml.BooleanValue value);
static member ToBoolean : DocumentFormat.OpenXml.BooleanValue -> bool
static member ToBoolean : DocumentFormat.OpenXml.BooleanValue -> bool
Public Shared Function ToBoolean (xmlAttribute As BooleanValue) As Boolean
Public Shared Function ToBoolean (value As BooleanValue) As Boolean

Parameters

xmlAttributevalue
BooleanValue

Returns

A Boolean value that represents a BooleanValue object.

Applies to