Stopwatch.ToString Method

Definition

Returns the Elapsed time as a string.

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

Returns

The elapsed time string in the same format used by ToString().

Applies to