Windows apps
Collapse the table of content
Expand the table of content

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

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

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


The first String object.


The second String object.

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

Minimum supported client: Windows 8

Minimum supported server: Windows Server 2012

Namespace: Platform

Metadata: vccorlib.h

© 2017 Microsoft