Click or drag to resize

BooleanValueFromBoolean Method

Returns a new BooleanValue object that was created by using the supplied Boolean value.

Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.20.0+Branch.release-v2.20.0.Sha.a873d3fbff9bffe179fea62486da950adf5be65d.a873d3fbff9bffe179fea62486da950adf5be65d
Syntax
public static BooleanValue FromBoolean(
	bool value
)

Parameters

value  Boolean
A Boolean value to use to create a new BooleanValue object.

Return Value

BooleanValue
A BooleanValue that corresponds to the value parameter.
See Also