Share via


CustomObject.ToString Method

Definition

Overloads

ToString()

Returns the custom object serialized to json.

ToString(Boolean)

Returns the custom object serialized to json.

ToString()

Returns the custom object serialized to json.

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

Returns

The string representation of the custom object.

Applies to

ToString(Boolean)

Returns the custom object serialized to json.

public:
 System::String ^ ToString(bool indented);
public string ToString (bool indented);
override this.ToString : bool -> string
Public Function ToString (indented As Boolean) As String

Parameters

indented
Boolean

Indicated whether the output should be indented.

Returns

The string representation of the custom object.

Applies to