Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

String::Concat Method

Concatenates the values of two String objects.

    String^ Concat( String ^ str1, 
    String ^ str2
    )
str1

The first String object, or null.

str2

The second String object, or null.

A new String^ object whose value is the concatenation of the values of str1 and str2.

If str1 is null and str2 is not, str1 is returned. If str2 is null and str1 is not, str2 is returned. If str1 and str2 are both null, the empty string (L"") is returned.

Minimum supported client: Windows 8

Minimum supported server: Windows Server 2012

Namespace: Platform

Metadata: vccorlib.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.