SPSchedule.RoundToHour 方法

该 API 支持 .NET Framework 基础结构,但不可以从您的代码中直接使用。

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 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
)

参数

返回值

类型:System.DateTime

另请参阅

引用

SPSchedule 类

SPSchedule 成员

Microsoft.SharePoint 命名空间