Cuemon .NET Framework
Contains(String,Char,StringComparison) Method

The System.String to seek.
The System.Char to search within source.
One of the enumeration values that specifies the rules to use in the comparison.
Returns a value indicating whether the specified value occurs within the source.
Syntax
'Declaration
 
Public Overloads Shared Function Contains( _
   ByVal source As String, _
   ByVal value As Char, _
   ByVal comparison As StringComparison _
) As Boolean
public static bool Contains( 
   string source,
   char value,
   StringComparison comparison
)

Parameters

source
The System.String to seek.
value
The System.Char to search within source.
comparison
One of the enumeration values that specifies the rules to use in the comparison.

Return Value

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

Target Platforms: Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

StringUtility Class
StringUtility Members
Overload List

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback