DateOnly.AddMonths(Int32) Method
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.
Adds the specified number of months to the value of this instance.
public:
DateOnly AddMonths(int value);
C#
public DateOnly AddMonths(int value);
member this.AddMonths : int -> DateOnly
Public Function AddMonths (value As Integer) As DateOnly
- value
- Int32
A number of months. The months parameter can be negative or positive.
An object whose value is the sum of the date represented by this instance and months.
Produto | Versións |
---|---|
.NET | 6, 7, 8, 9, 10 |
Colaborar con nós en GitHub
A orixe deste contido pódese atopar en GitHub, onde tamén podes crear e revisar problemas e extraer solicitudes. Para obter máis información, consulta a guía para colaboradores.
Comentarios de .NET
.NET é un proxecto de código aberto. Selecciona unha ligazón para ofrecer comentarios: