Bridge

String..::..Contains Method

Returns a value indicating whether a specified substring occurs within this string.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


[TemplateAttribute]
public bool Contains(
	string value
)
<TemplateAttribute> _
Public Function Contains ( _
	value As String _
) As Boolean
[TemplateAttribute]
public:
bool^ Contains(
	String^ value
)

Parameters

value
Type: System..::..String
The string to seek.

Return Value

true if the value parameter occurs within this string, or if value is the empty string (""); otherwise, false.

Exceptions


ExceptionCondition
System..::..ArgumentNullExceptionvalue is null.