TrueFalseValue.FromBoolean Method
Returns a new TrueFalseValue object created from Boolean.
Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Shared Function FromBoolean ( _
value As Boolean _
) As TrueFalseValue
'Usage
Dim value As Boolean
Dim returnValue As TrueFalseValue
returnValue = TrueFalseValue.FromBoolean(value)
public static TrueFalseValue FromBoolean(
bool value
)
Parameters
- value
Type: System.Boolean
A Boolean value to create a new TrueFalseValue object from.
Return Value
Type: DocumentFormat.OpenXml.TrueFalseValue
A TrueFalseValue that corresponds to the value parameter.