[This is preliminary documentation and is subject to change.]
Namespace: NFXAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public static Nullable<TimeSpan> AsNullableTimeSpan(
this string val,
Nullable<TimeSpan> dflt = null
)
public static Nullable<TimeSpan> AsNullableTimeSpan(
this string val,
Nullable<TimeSpan> dflt = null
)
<ExtensionAttribute>
Public Shared Function AsNullableTimeSpan (
val As String,
Optional dflt As Nullable(Of TimeSpan) = Nothing
) As Nullable(Of TimeSpan)
<ExtensionAttribute>
Public Shared Function AsNullableTimeSpan (
val As String,
Optional dflt As Nullable(Of TimeSpan) = Nothing
) As Nullable(Of TimeSpan)
public:
[ExtensionAttribute]
static Nullable<TimeSpan> AsNullableTimeSpan(
String^ val,
Nullable<TimeSpan> dflt = nullptr
)
public:
[ExtensionAttribute]
static Nullable<TimeSpan> AsNullableTimeSpan(
String^ val,
Nullable<TimeSpan> dflt = nullptr
)
static member AsNullableTimeSpan :
val : string *
?dflt : Nullable<TimeSpan>
(* Defaults:
let _dflt = defaultArg dflt null
*)
-> Nullable<TimeSpan>
static member AsNullableTimeSpan :
val : string *
?dflt : Nullable<TimeSpan>
(* Defaults:
let _dflt = defaultArg dflt null
*)
-> Nullable<TimeSpan>
Return Value
Type:
Nullable
TimeSpan Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
String. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).