Share via


ToTimeSpan Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Converts a String to a TimeSpan equivalent.

Namespace:  Ws.Services.Serialization
Assembly:  MFWsStack (in MFWsStack.dll)

Syntax

'Declaration
Public Shared Function ToTimeSpan ( _
    s As String _
) As TimeSpan
public static TimeSpan ToTimeSpan(
    string s
)
public:
static TimeSpan ToTimeSpan(
    String^ s
)
static member ToTimeSpan : 
        s:string -> TimeSpan 
public static function ToTimeSpan(
    s : String
) : TimeSpan

Parameters

Return Value

Type: System. . :: . .TimeSpan
A TimeSpan equivalent of the string.

.NET Framework Security

See Also

Reference

WsXmlConvert Class

Ws.Services.Serialization Namespace