Bind an instance of a Byte array to a named parameter using an NHibernate BinaryType.

Namespace: NHibernate
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
IMultiQuery SetBinary(
	string name,
	byte[] val
)
Visual Basic
Function SetBinary ( _
	name As String, _
	val As Byte() _
) As IMultiQuery
Visual C++
IMultiQuery^ SetBinary(
	String^ name, 
	array<unsigned char>^ val
)

Parameters

name
Type: System..::..String
The name of the parameter
val
Type: array<System..::..Byte>[]()[][]
A non-null instance of a Byte array.

Return Value

The instance for method chain.

See Also