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