Class SearchQueryAlphabetRange
- Namespace
- Dynamicweb.Security.UserManagement
- Assembly
- Dynamicweb.Security.dll
Represents an alphabet range.
public class SearchQueryAlphabetRange
- Inheritance
-
SearchQueryAlphabetRange
- Inherited Members
Constructors
SearchQueryAlphabetRange()
Initializes a new instance of an object.
public SearchQueryAlphabetRange()
Properties
EndLetter
Gets or sets the end letter.
public char EndLetter { get; set; }
Property Value
IsCollapsed
Gets value indicating whether range is collapsed (start letter is equal to end letter).
public bool IsCollapsed { get; }
Property Value
IsValid
Gets value indicating whether range is valid.
public bool IsValid { get; }
Property Value
StartLetter
Gets or sets the start letter.
public char StartLetter { get; set; }
Property Value
Methods
TryParse(string, out SearchQueryAlphabetRange)
Converts the specified string representation of an alphabet range to its SearchQueryAlphabetRange equivalent and returns a value that indicates whether the conversion succeeded.
public static bool TryParse(string s, out SearchQueryAlphabetRange queryAlphabetRange)
Parameters
s
string- A string containing an alphabet range to convert.
queryAlphabetRange
SearchQueryAlphabetRange- 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.
Returns
- bool
- True if the s parameter was converted successfully; otherwise, false.