DynamicScriptObject.ToString Method


Attempts to convert the script object to a string representation.

This API supports the product infrastructure and is not intended to be used directly from your code.

 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String



A string representation of the script object, if the object can be converted; otherwise, a string representation of the object's default property or method.


If the script object cannot be converted to a string, the ToString method returns a string representation of the default property or method.

Applies to