ArcFM Responder Mobile Developer Guide
Equivalent Method






See if the strings are equal ignoring case
Syntax
'Declaration
 
<System.Runtime.CompilerServices.ExtensionAttribute()>
Public Shared Function Equivalent( _
   ByVal string As System.String, _
   ByVal value As System.String _
) As System.Boolean
'Usage
 
Dim string As System.String
Dim value As System.String
Dim value As System.Boolean
 
value = StringExtensions.Equivalent(string, value)
[System.Runtime.CompilerServices.Extension()]
public static System.bool Equivalent( 
   System.string string,
   System.string value
)
public function Equivalent( 
    string: System.String;
    value: System.String
): System.Boolean; static; 
System.Runtime.CompilerServices.ExtensionAttribute()
public static function Equivalent( 
   string : System.String,
   value : System.String
) : System.boolean;
[System.Runtime.CompilerServices.Extension()]
public: static System.bool Equivalent( 
   System.string* string,
   System.string* value
) 
[System.Runtime.CompilerServices.Extension()]
public:
static System.bool Equivalent( 
   System.String^ string,
   System.String^ value
) 

Parameters

string
value
Exceptions
ExceptionDescription
System.ArgumentNullExceptionThe exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.
Requirements

Target Platforms: 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

StringExtensions Class
StringExtensions Members

Send Feedback