Click or drag to resize

StringExtensionsContains Method

Namespace:  Dynamicweb.Core
Assembly:  Dynamicweb.Core (in Dynamicweb.Core.dll) Version: 3.1.1
Syntax
public static bool Contains(
	this string source,
	string value,
	StringComparison comparison
)

Parameters

source
Type: SystemString
value
Type: SystemString
comparison
Type: SystemStringComparison

Return Value

Type: Boolean

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also