MarkLogic XCC/.Net Library |

# ValueFactory.NewXSInteger Method

A convenience method to construct an XSInteger value. Note that an XQuery xs:integer can hold values larger than a Java int or long.

[Visual Basic]
Public Shared Function NewXSInteger( _
ByVal val As Long _
) As XSInteger
[C#]
public static XSInteger NewXSInteger(
long val
);

#### Parameters

val
  A long to construct the XSInteger object with.

#### Return Value

An instance of XSInteger.

#### See Also

ValueFactory Class | Marklogic.Xcc Namespace