SPSchedule.RoundToHour method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)


Protected Friend Function RoundToHour ( _
    dt As DateTime, _
    dtRound As DateTime _
) As DateTime
Dim dt As DateTime
Dim dtRound As DateTime
Dim returnValue As DateTime

returnValue = Me.RoundToHour(dt, dtRound)
protected internal DateTime RoundToHour(
    DateTime dt,
    DateTime dtRound


Return value

Type: System.DateTime

See also


SPSchedule class

SPSchedule members

Microsoft.SharePoint namespace