Same as ByContent(). Returns a control type instead of element.
Syntax| C# |
public TControl ByContent<TControl> ( string content, FindContentType contentType, params string[] nameValuePairs ) where TControl : new(), Control
Generic Template Parameters- TControl
- The control type to create.
Parameters- content (String)
- The content to match.
- contentType (FindContentType)
- The content type to match.
- nameValuePairs (String[]())
- The attribute name/value pairs to apply.
Return ValueThe control object.
Assembly: ArtOfTest.WebAii (Module: ArtOfTest.WebAii)
