Script Object. To String Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public: 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.