MarkLogic XCC/.Net Library

Request.Variable Property

Associate an XdmVariable with this Request. When an invocation of Session.submitRequest(Request) is made, all currently set variables are sent with the request and defined as XQuery external variables when the query runs in the server.

If another variable with the same name is already set, it is replaced. Note that XName instances with the same namespace/local name values are considered to be equal.

[Visual Basic]
Property Variable As XdmVariable
[C#]
Types.XdmVariable Variable {set;}

See Also

Request Interface | Marklogic.Xcc Namespace