CustomObject.ToString Method
Definition
Important
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.
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.