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
- s
Type: System. . :: . .String
Holds the string to convert.
Return Value
Type: System. . :: . .TimeSpan
A TimeSpan equivalent of the string.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.