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
- xmlAttribute
Type: DocumentFormat.OpenXml.TrueFalseValue
A TrueFalseValue object to retrieve an internal Boolean representation.
Return Value
Type: System.Boolean
A Boolean value that represents a TrueFalseValue object.