Dynamicweb 8 Documentation
TryParse Method (SearchQueryAlphabetRange)

A string containing an alphabet range to convert.
When this method returns, contains the SearchQueryAlphabetRange value qeuivalent to the alphabet range contained in s, if the conversion succeeded, or an empty range if the conversion failed. The conversion fails if the s parameter is Nothing, is an empty string (""), or does not contain a valid string representation of an alphabet range. This parameter is passed uninitialized.
Converts the specified string representation of an alphabet range to its SearchQueryAlphabetRange equivalent and returns a value that indicates whether the conversion succeeded.
Syntax
'Declaration
 
Public Shared Function TryParse( _ 
   ByVal s As String, _ 
   ByRef result As SearchQueryAlphabetRange _ 
) As Boolean
public static bool TryParse( 
   string s,
   out SearchQueryAlphabetRange result 
)

Parameters

s
A string containing an alphabet range to convert.
result
When this method returns, contains the SearchQueryAlphabetRange value qeuivalent to the alphabet range contained in s, if the conversion succeeded, or an empty range if the conversion failed. The conversion fails if the s parameter is Nothing, is an empty string (""), or does not contain a valid string representation of an alphabet range. This parameter is passed uninitialized.

Return Value

True if the s parameter was converted successfully; otherwise, false.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SearchQueryAlphabetRange Class
SearchQueryAlphabetRange Members

Send Feedback