TrueFalseValue Implicit Conversion (Boolean to TrueFalseValue)
Implicitly converts from Boolean value.
Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Shared Widening Operator CType ( _
value As Boolean _
) As TrueFalseValue
'Usage
Dim input As Boolean
Dim output As TrueFalseValue
output = CType(input, TrueFalseValue)
public static implicit operator TrueFalseValue (
bool value
)
Parameters
- value
Type: System.Boolean
The Boolean value to convert from.
Return Value
Type: DocumentFormat.OpenXml.TrueFalseValue
The TrueFalseValue value.