asp.net.ph

String.Equals Method ( String )

System Namespace   String Class


Determines whether this instance and a specified String have the same value.

[ VB ]
<Serializable>
Overloads Public Function Equals ( _
   ByVal value As String _
) As Boolean

[ C# ]
[ Serializable ]
public bool Equals (
   string value
);

[ C++ ]
[ Serializable ]
public: bool Equals (
   String* value
);

[ JScript ]
public Serializable
function Equals (
   value : String
) : Boolean;

Parameters

value
A String.

Return Value

true if the value of value is the same as this instance; otherwise, false.

Exceptions


Exception Type Condition
NullReferenceException This instance is a null reference ( Nothing in Visual Basic ).

Remarks

This comparison is case-sensitive.

See Also

String Members   String.Equals Overload List   Object   Compare   CompareOrdinal   CompareTo Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph