 | OnOffValueFromBoolean Method |
Returns a new OnOffValue object created from a Boolean value.
Namespace: DocumentFormat.OpenXmlAssembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.11.3+Branch.master.Sha.3fcdea311b5a001803ff150de35c25fd4cd62f93.3fcdea311b5a001803ff150de35c25fd4cd62f93
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