MarkLogic XCC/.Net Library

Request.SetNewIntegerVariable Method (String, Int64)

Convenience method that creates a new XSInteger, binds it to this Request and then returns the new XSInteger instance. This method is equivalent to:

request.setNewIntegerVariable (null, localname, value)
            

[Visual Basic]
Function SetNewIntegerVariable( _
   ByVal localname As String, _
   ByVal val As Long _
) As XdmVariable
[C#]
XdmVariable SetNewIntegerVariable(
   string localname,
   long val
);

Parameters

localname
The local name as a String.
val
A long that contains the value.

Return Value

An instance of XSInteger

See Also

Request Interface | Marklogic.Xcc Namespace | Request.SetNewIntegerVariable Overload List | String, long)