編輯

共用方式為


DynamicScriptObject.ToString Method

Definition

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

Returns

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.

Remarks

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