StringElement.Matches(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Method invoked to determine if the cell matches the given text, never invoked with a null value or an empty string.
public override bool Matches (string text);
override this.Matches : string -> bool
Parameters
- text
- String
Text that the user is looking for
Returns
True if the element contains the text, false otherwise.
Remarks
This method should return true if the user would find the text represented by this cell. This could perform a search on the visible elements of the cell, or some components of the cell that are not visible.