DynamicScriptObject.ToString Method ()

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Attempts to convert the script object to a string representation.

Namespace:   System.Windows.Interop
Assembly:  PresentationFramework (in PresentationFramework.dll)

public override string ToString()

Return Value

Type: System.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.

.NET Framework
Available since 4.0
Return to top