MarkLogic XCC/.Net Library |

# Request.SetNewIntegerVariable Method

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)

#### Overload List

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)

> XdmVariable SetNewIntegerVariable(string,long);

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

                XdmVariable temp = ValueFactory.newVariable (
                ValueFactory.newXName (namespace, localname),
                ValueFactory.newValue (ValueType.XS_INTEGER, value));
                request.setVariable (temp);
                return temp;

> XdmVariable SetNewIntegerVariable(string,string,long);

#### See Also

Request Interface | Marklogic.Xcc Namespace | String, long)