Convert the pattern, by appending/prepending "%"

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

Syntax

C#
public abstract string ToMatchString(
	string pattern
)
Visual Basic
Public MustOverride Function ToMatchString ( _
	pattern As String _
) As String
Visual C++
public:
virtual String^ ToMatchString(
	String^ pattern
) abstract

Parameters

pattern
Type: System..::..String
The string to convert to the appropriate match pattern.

Return Value

A String that contains a "%" in the appropriate place for the Match Strategy.

See Also