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