Skip to main content Skip to complementary content

ToString Method

Overloads

ToString()

Returns a string that represents the current object.

ToString(Formatting)

Returns a string that represents the current object.

ToString()

Returns a string that represents the current object.

Declaration

      public override string ToString()
    

Returns

Type Description
System.String

A string that represents the current object.

Overrides

ToString(Formatting)

Returns a string that represents the current object.

Declaration

      public override string ToString(Formatting formatting)
    

Parameters

Type Name Description
Newtonsoft.Json.Formatting formatting

Formatting options

Returns

Type Description
System.String

Returns a string that represents the current object.

Overrides

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!