VSFlexString Properties, Events, and Methods

All of the properties, events, and methods for the VSFlexString control are listed in the following tables. Properties, events, and methods that apply only to this control, or that require special consideration when used with it, are marked with an asterisk (*). These are documented in later sections. For documentation on the remaining properties, see the Visual Basic documentation.

Properties

*CaseSensitive

Returns or sets whether matching is case-sensitive.

*Error

Returns status information after each pattern-matching operation.

*MatchCount

Returns the number of matches found after setting the Pattern or Text properties.

*MatchIndex

Returns or sets the zero-based index of the current match when there are multiple matches.

*MatchLength

Returns the length of the current match, in characters.

*MatchStart

Returns the zero-based position of the current match within the Text string.

*MatchString

Returns or sets the string corresponding to the current match.

*Pattern

Returns or sets the regular expression used for matching against the Text string.

*Replace

Sets a string to replace all matches.

*Soundex

Returns a phonetic code representing the current Text string.

*TagCount

Returns the number of tags found after setting the Pattern, Text, or MatchIndex properties.

*TagIndex

Returns or sets the index of the current tag when there are multiple tags in the Pattern string.

*TagLength

Returns the length of the current tag, in characters.

*TagStart

Returns the position of the current tag within the Text string, starting from zero.

*TagString

Returns or sets the string corresponding to the current tag.

*Text

Returns or sets the text to be scanned searching for the Pattern string.

*Version

Returns the version of the control currently loaded in memory.


VSFlexString Properties