Поделиться через


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

Return Value

Type: System.Boolean
The Boolean.

See Also

Reference

OnOffValue Class

OnOffValue Members

Implicit Overload

DocumentFormat.OpenXml Namespace