MarkLogic XDBC.NET Library

IXdbcCommand.SetDecimal Method (XmlQualifiedName, Decimal)

Binds the variable's value to the argument value. The variable should be of type xs:decimal.

Note that this conversion may involve some loss of precision due to differences in .NET and XQuery types.

[Visual Basic]
Sub SetDecimal( _
   ByVal name As XmlQualifiedName, _
   ByVal value As Decimal _
)
[C#]
void SetDecimal(
   XmlQualifiedName name,
   decimal value
);

Parameters

name
The extended name of the variable to set.
value
The decimal value to set.

Exceptions

Exception TypeCondition
XdbcExceptionIf a database access error occurs

See Also

IXdbcCommand Interface | MarkLogic.Xdbc Namespace | IXdbcCommand.SetDecimal Overload List