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.
Object::ToString Method (C++/CX)
Returns a string that represents the current object.
virtual String^ ToString()
A string that represents the current object. You can override this method to provide a custom string message in your ref class or struct:
public ref class Tree sealed
virtual Platform::String^ ToString()override
return "I’m a Tree";
Minimum supported client: Windows 8
Minimum supported server: Windows Server 2012
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback