Cuemon .NET Framework
Equals(String,StringComparison,String[]) Method

The System.String to seek.
One of the enumeration values that specifies the rules to use in the comparison.
The System.String sequence to search within source.
Returns a value indicating the specified source equals one of the specified values.
Syntax
'Declaration
 
Public Overloads Shared Function Equals( _
   ByVal source As String, _
   ByVal comparison As StringComparison, _
   ByVal ParamArray values() As String _
) As Boolean
public static bool Equals( 
   string source,
   StringComparison comparison,
   params string[] values
)

Parameters

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

Return Value

true if one the values is the same as the source; otherwise false.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionsource is null - or - values is null.
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