DateOnly.Month Property
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.
Gets the month component of the date represented by this instance.
public:
property int Month { int get(); };
C#
public int Month { get; }
member this.Month : int
Public ReadOnly Property Month As Integer
A number that represents the month component of the date.
Produkt | Versioner |
---|---|
.NET | 6, 7, 8, 9, 10 |
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Feedback om .NET
.NET är ett öppen källkod projekt. Välj en länk för att ge feedback: