StringAssert.Contains Method
Include Protected Members
Include Inherited Members
Verifies that a specified string contains a specified substring. This method is case sensitive.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
Overload List
Name
Description
Verifies that the first string contains the second string. This method is case sensitive.
Contains(String, String, String)
Verifies that the first string contains the second string. Displays a message if the assertion fails. This method is case sensitive.
Contains(String, String, String, array<Object[])
Verifies that the first string contains the second string. Displays a message if the assertion fails, and applies the specified formatting to it. This method is case sensitive.
Top