Bind a value to an indexed parameter.

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

Syntax

C#
IDetachedQuery SetParameter(
	int position,
	Object val,
	IType type
)
Visual Basic
Function SetParameter ( _
	position As Integer, _
	val As Object, _
	type As IType _
) As IDetachedQuery
Visual C++
IDetachedQuery^ SetParameter(
	int position, 
	Object^ val, 
	IType^ type
)

Parameters

position
Type: System..::..Int32
Position of the parameter in the query, numbered from 0
val
Type: System..::..Object
The possibly null parameter value
type
Type: NHibernate.Type..::..IType
The Hibernate type

Return Value

[Missing <returns> documentation for "M:NHibernate.IDetachedQuery.SetParameter(System.Int32,System.Object,NHibernate.Type.IType)"]

See Also