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


OnOffValue.ToBoolean Method

Returns the internal Boolean representation of a OnOffValue object.

Namespace:  DocumentFormat.OpenXml
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Shared Function ToBoolean ( _
    xmlAttribute As OnOffValue _
) As Boolean
'Usage
Dim xmlAttribute As OnOffValue
Dim returnValue As Boolean

returnValue = OnOffValue.ToBoolean(xmlAttribute)
public static bool ToBoolean(
    OnOffValue xmlAttribute
)

Parameters

Return Value

Type: System.Boolean
A Boolean value that represents a OnOffValue object.

See Also

Reference

OnOffValue Class

OnOffValue Members

DocumentFormat.OpenXml Namespace