Partilhar via


SPSchedule.RoundToSecond Method

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

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Protected Friend Function RoundToSecond ( _
    dt As DateTime, _
    dtRound As DateTime _
) As DateTime
'Usage
Dim dt As DateTime
Dim dtRound As DateTime
Dim returnValue As DateTime

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

Parameters

Return Value

Type: System.DateTime

See Also

Reference

SPSchedule Class

SPSchedule Members

Microsoft.SharePoint Namespace