Delen via


SqlColumnBinder.GetTimeSpan Method (SqlDataReader, TimeSpan, 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, _
    missingColumnValue As TimeSpan _
) As TimeSpan
public TimeSpan GetTimeSpan(
    SqlDataReader reader,
    TimeSpan nullValue,
    TimeSpan missingColumnValue
)
public:
TimeSpan GetTimeSpan(
    SqlDataReader^ reader, 
    TimeSpan nullValue, 
    TimeSpan missingColumnValue
)
member GetTimeSpan : 
        reader:SqlDataReader * 
        nullValue:TimeSpan * 
        missingColumnValue:TimeSpan -> TimeSpan
public function GetTimeSpan(
    reader : SqlDataReader, 
    nullValue : TimeSpan, 
    missingColumnValue : 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