Click or drag to resize

OnOffValueToBoolean Method

Returns the internal Boolean representation of a OnOffValue object.

Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.11.3+Branch.master.Sha.3fcdea311b5a001803ff150de35c25fd4cd62f93.3fcdea311b5a001803ff150de35c25fd4cd62f93
Syntax
public static bool ToBoolean(
	OnOffValue xmlAttribute
)

Parameters

xmlAttribute  OnOffValue
A OnOffValue object to retrieve an internal Boolean representation.

Return Value

Boolean
A Boolean value that represents a OnOffValue object.
See Also