Bind an instance of a Byte array to an indexed parameter
using an NHibernate BinaryType.
Namespace:
NHibernateAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Function SetBinary ( _ position As Integer, _ val As Byte() _ ) As IQuery |
C# |
---|
IQuery SetBinary( int position, byte[] val ) |
Visual C++ |
---|
IQuery^ SetBinary( int position, array<unsigned char>^ val ) |
JavaScript |
---|
function setBinary(position, val); |
Parameters
- position
- Type: System..::.Int32
The position of the parameter in the query string, numbered from 0
- val
- Type: array<
System..::.Byte
>[]()[]
A non-null instance of a Byte array.