BooleanValue Implicit Conversion (BooleanValue to Boolean)
Implicit converter to Boolean.
Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Shared Widening Operator CType ( _
xmlAttribute As BooleanValue _
) As Boolean
'Usage
Dim input As BooleanValue
Dim output As Boolean
output = CType(input, Boolean)
public static implicit operator bool (
BooleanValue xmlAttribute
)
Parameters
- xmlAttribute
Type: DocumentFormat.OpenXml.BooleanValue
The BooleanValue to be converted.
Return Value
Type: System.Boolean
The internal Boolean value.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when "xmlAttribute" is null. |