StringExtensionsContains Method |
Implement the Contains(ch) method for PCL.
Namespace: Bio.ExtensionsAssembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax public static bool Contains(
this string text,
char ch
)
<ExtensionAttribute>
Public Shared Function Contains (
text As String,
ch As Char
) As Boolean
public:
[ExtensionAttribute]
static bool Contains(
String^ text,
wchar_t ch
)
[<ExtensionAttribute>]
static member Contains :
text : string *
ch : char -> bool
Parameters
- text
- Type: SystemString
[Missing <param name="text"/> documentation for "M:Bio.Extensions.StringExtensions.Contains(System.String,System.Char)"]
- ch
- Type: SystemChar
[Missing <param name="ch"/> documentation for "M:Bio.Extensions.StringExtensions.Contains(System.String,System.Char)"]
Return Value
Type:
Boolean[Missing <returns> documentation for "M:Bio.Extensions.StringExtensions.Contains(System.String,System.Char)"]
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