 | OnOffValueFromBoolean Method |
Namespace: DocumentFormat.OpenXmlAssembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.20.0+Branch.release-v2.20.0.Sha.a873d3fbff9bffe179fea62486da950adf5be65d.a873d3fbff9bffe179fea62486da950adf5be65d
Syntaxpublic static OnOffValue FromBoolean(
bool value
)
Public Shared Function FromBoolean (
value As Boolean
) As OnOffValue
public:
static OnOffValue^ FromBoolean(
bool value
)
static member FromBoolean :
value : bool -> OnOffValue
Parameters
- value Boolean
- A Boolean value that is used to create a new OnOffValue object.
Return Value
OnOffValueA
OnOffValue that corresponds to the value parameter.
See Also