TrueFalseValue.ToBoolean Method

Returns the internal Boolean representation of a TrueFalseValue object.

Namespace:  DocumentFormat.OpenXml
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Shared Function ToBoolean ( _
    xmlAttribute As TrueFalseValue _
) As Boolean
'Usage
Dim xmlAttribute As TrueFalseValue
Dim returnValue As Boolean

returnValue = TrueFalseValue.ToBoolean(xmlAttribute)
public static bool ToBoolean(
    TrueFalseValue xmlAttribute
)

Parameters

Return Value

Type: System.Boolean
A Boolean value that represents a TrueFalseValue object.

See Also

Reference

TrueFalseValue Class

TrueFalseValue Members

DocumentFormat.OpenXml Namespace