TimeOnly.AddMinutes Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddMinutes(Double) |
Returns a new TimeOnly that adds the specified number of minutes to the value of this instance. |
AddMinutes(Double, Int32) |
Returns a new TimeOnly that adds the specified number of minutes to the value of this instance. If the result wraps past the end of the day, this method returns the number of excess days as an out parameter. |
AddMinutes(Double)
- Source:
- TimeOnly.cs
- Source:
- TimeOnly.cs
- Source:
- TimeOnly.cs
Returns a new TimeOnly that adds the specified number of minutes to the value of this instance.
public:
TimeOnly AddMinutes(double value);
public TimeOnly AddMinutes (double value);
member this.AddMinutes : double -> TimeOnly
Public Function AddMinutes (value As Double) As TimeOnly
Parameters
- value
- Double
A number of whole and fractional minutes. The value parameter can be negative or positive.
Returns
An object whose value is the sum of the time represented by this instance and the number of minutes represented by value.
Applies to
AddMinutes(Double, Int32)
- Source:
- TimeOnly.cs
- Source:
- TimeOnly.cs
- Source:
- TimeOnly.cs
Returns a new TimeOnly that adds the specified number of minutes to the value of this instance. If the result wraps past the end of the day, this method returns the number of excess days as an out parameter.
public:
TimeOnly AddMinutes(double value, [Runtime::InteropServices::Out] int % wrappedDays);
public TimeOnly AddMinutes (double value, out int wrappedDays);
member this.AddMinutes : double * int -> TimeOnly
Public Function AddMinutes (value As Double, ByRef wrappedDays As Integer) As TimeOnly
Parameters
- value
- Double
A number of whole and fractional minutes. The value parameter can be negative or positive.
- wrappedDays
- Int32
When this method returns, contains the number of excess days, if any, that resulted from wrapping during this addition operation.
Returns
An object whose value is the sum of the time represented by this instance and the number of minutes represented by value.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기