AppendString

WordPattern.AppendString method

Appends a string to the word pattern.

public void AppendString(string text)
Parameter Type Description
text String The string to append.

Remarks

The string is appended as UTF-16 code units rather than as code points, which is how the terms of an index are stored. A character above the basic plane therefore becomes the pair of its surrogates and is searched for as such. Appending it as a single code point would have set the bit that marks a wildcard and turned the character into one.

See Also