Utility method to convert a string to a SearchMode. The string should be one of the string constants represented as MatchAll, MatchAllAny, MatchAllPartial, MatchAny, MatchBoolean, MatchPartial, MatchPartialMax.

Namespace:  Endeca.Web.Url.Seo.Utility
Assembly:  Endeca.Web.Url.Seo (in Endeca.Web.Url.Seo.dll) Version: 2.1.3.0 (2.1.3.622)

Syntax

C#
public static SearchMode ConvertToSearchMode(
	string s
)
Visual Basic (Declaration)
Public Shared Function ConvertToSearchMode ( _
	s As String _
) As SearchMode
Visual C++
public:
static SearchMode ConvertToSearchMode(
	String^ s
)

Parameters

s
Type: System..::.String
String representing desired search mode.

Return Value

SearchMode corresponding to the given string.

See Also