[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 TimeSpan AsTimeSpan(
this Object val
)
public static TimeSpan AsTimeSpan(
this Object val
)
<ExtensionAttribute>
Public Shared Function AsTimeSpan (
val As Object
) As TimeSpan
<ExtensionAttribute>
Public Shared Function AsTimeSpan (
val As Object
) As TimeSpan
public:
[ExtensionAttribute]
static TimeSpan AsTimeSpan(
Object^ val
)
public:
[ExtensionAttribute]
static TimeSpan AsTimeSpan(
Object^ val
)
static member AsTimeSpan :
val : Object -> TimeSpan
static member AsTimeSpan :
val : Object -> TimeSpan
Return Value
Type:
TimeSpanUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Object. 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).