该 API 支持 .NET Framework 基础结构,但不可以从您的代码中直接使用。
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Protected Friend Function RoundToMonth ( _
dt As DateTime, _
dtRound As DateTime _
) As DateTime
用法
Dim dt As DateTime
Dim dtRound As DateTime
Dim returnValue As DateTime
returnValue = Me.RoundToMonth(dt, _
dtRound)
protected internal DateTime RoundToMonth(
DateTime dt,
DateTime dtRound
)
参数
- dt
类型:System.DateTime
- dtRound
类型:System.DateTime