Partager via


SqlColumnBinder.GetTimeSpan Method (SqlDataReader, TimeSpan)

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Function GetTimeSpan ( _
    reader As SqlDataReader, _
    nullValue As TimeSpan _
) As TimeSpan
public TimeSpan GetTimeSpan(
    SqlDataReader reader,
    TimeSpan nullValue
)
public:
TimeSpan GetTimeSpan(
    SqlDataReader^ reader, 
    TimeSpan nullValue
)
member GetTimeSpan : 
        reader:SqlDataReader * 
        nullValue:TimeSpan -> TimeSpan
public function GetTimeSpan(
    reader : SqlDataReader, 
    nullValue : TimeSpan
) : TimeSpan

Parameters

Return Value

Type: System.TimeSpan
Returns TimeSpan.

.NET Framework Security

See Also

Reference

SqlColumnBinder Class

GetTimeSpan Overload

Microsoft.TeamFoundation.Framework.Server Namespace