Bind an instance of a String to a named 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(
	string name,
	string val
)
Visual Basic
Function SetString ( _
	name As String, _
	val As String _
) As IDetachedQuery
Visual C++
IDetachedQuery^ SetString(
	String^ name, 
	String^ val
)

Parameters

name
Type: System..::..String
The name of the parameter
val
Type: System..::..String
A non-null instance of a String.

Return Value

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

See Also