String::operator== Operator (C++/CX)

This topic has not yet been rated - Rate this topic

Indicates whether two specified String objects have the same text value.


    bool String::operator==( String^ str1,
                             String^ str2)

str1

The first String object to compare.

str2

The second String object to compare.

true if the contents of str1 are equal to str2; otherwise, false.

This operator is equivalent to String::CompareOrdinal Method.

Minimum supported client: Windows 8

Minimum supported server: Windows Server 2012

Namespace: Platform

Metadata: vccorlib.h

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.