Contains(String) Method (DrawingString)
Returns a value indicating whether a specified substring occurs within this string.
'Declaration
Public Function Contains( _
ByVal As System.String _
) As Boolean
public bool Contains(
System.String
)
public: bool Contains(
System.String
)
public:
bool Contains(
System.String
)
Parameters
- value
- The string to seek.
Return Value
True if the value parameter occurs within this string, or if value is the empty string (""); otherwise, false.
Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5