Bind an instance of a String to an indexed parameter using an NHibernate StringType.

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

Syntax

C#
IDetachedQuery SetString(
	int position,
	string val
)
Visual Basic
Function SetString ( _
	position As Integer, _
	val As String _
) As IDetachedQuery
Visual C++
IDetachedQuery^ SetString(
	int position, 
	String^ val
)

Parameters

position
Type: System..::..Int32
The position of the parameter in the query string, numbered from 0
val
Type: System..::..String
A non-null instance of a String.

Return Value

[Missing <returns> documentation for "M:NHibernate.IDetachedQuery.SetString(System.Int32,System.String)"]

See Also