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

Return Value

Type: DocumentFormat.OpenXml.OnOffValue
The OnOffValue.

See Also

Reference

OnOffValue Class

OnOffValue Members

Implicit Overload

DocumentFormat.OpenXml Namespace