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