MSDN Library
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

 

Indicates whether the value of one String object is greater than the value of a second String object.


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

str1

The first String object.

str2

The second String object.

true if the value of str1 is greater than the value of str2; otherwise, false.

This operator is equivalent to explicitly calling String::CompareOrdinal and getting a result greater than zero.

Requirements

Minimum supported client: Windows 8

Minimum supported server: Windows Server 2012

Namespace: Platform

Metadata: vccorlib.h

Show:
© 2016 Microsoft