Bind an instance of a Byte array to an indexed parameter
            using an NHibernate BinaryType.
            
Namespace: NHibernateAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
| C# | 
|---|
IDetachedQuery SetBinary( int position, byte[] val )  | 
| Visual Basic | 
|---|
Function SetBinary ( _ position As Integer, _ val As Byte() _ ) As IDetachedQuery  | 
| Visual C++ | 
|---|
IDetachedQuery^ SetBinary( int position, array<unsigned char>^ 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. 
Return Value
[Missing <returns> documentation for "M:NHibernate.IDetachedQuery.SetBinary(System.Int32,System.Byte[])"]