Share via


TypeConversion.To8601String Method (TimeSpan)

 

Convert a TimeSpan object into an 8601-formatted string.

Namespace:   Microsoft.WindowsAzure.Common.Internals
Assembly:  Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)

Syntax

public static string To8601String(
    this TimeSpan timespan
)
public:
[ExtensionAttribute]
static String^ To8601String(
    TimeSpan timespan
)
static member To8601String : 
        timespan:TimeSpan -> string
<ExtensionAttribute>
Public Shared Function To8601String (
    timespan As TimeSpan
) As String

Parameters

Return Value

Type: System.String

The TimeSpan in 8601 format.

See Also

TypeConversion Class
Microsoft.WindowsAzure.Common.Internals Namespace

Return to top