MarkLogic XCC/.Net Library |

# ValueFactory.NewXSBoolean Method

A convenience method to construct an {@link com.marklogic.xcc.types.XSBoolean} value.

[Visual Basic]
Public Shared Function NewXSBoolean( _
ByVal val As Boolean _
) As XSBoolean
[C#]
public static XSBoolean NewXSBoolean(
bool val
);

#### Parameters

val
  A boolean to constrcut the {@link com.marklogic.xcc.types.XSBoolean} object with.

#### Return Value

An instance of {@link com.marklogic.xcc.types.XSBoolean}.

#### See Also

ValueFactory Class | Marklogic.Xcc Namespace