Share via


Calendar.MonthAsString Method

Definition

Overloads

MonthAsString()

Returns a string representation of the month suitable for inclusion with other date components.

MonthAsString(Int32)

Returns a string representation of the month suitable for inclusion with other date components.

MonthAsString()

Returns a string representation of the month suitable for inclusion with other date components.

public:
 virtual Platform::String ^ MonthAsString() = MonthAsString;
/// [Windows.Foundation.Metadata.Overload("MonthAsFullString")]
winrt::hstring MonthAsString();
[Windows.Foundation.Metadata.Overload("MonthAsFullString")]
public string MonthAsString();
function monthAsString()
Public Function MonthAsString () As String

Returns

String

Platform::String

winrt::hstring

A string representation of the month, using the most common abbreviation available.

Attributes

See also

Applies to

MonthAsString(Int32)

Returns a string representation of the month suitable for inclusion with other date components.

public:
 virtual Platform::String ^ MonthAsString(int idealLength) = MonthAsString;
/// [Windows.Foundation.Metadata.Overload("MonthAsString")]
winrt::hstring MonthAsString(int const& idealLength);
[Windows.Foundation.Metadata.Overload("MonthAsString")]
public string MonthAsString(int idealLength);
function monthAsString(idealLength)
Public Function MonthAsString (idealLength As Integer) As String

Parameters

idealLength
Int32

int

A positive integer specifying the ideal length, in characters, for the returned string, or 0 specifying the most common abbreviation available.

Returns

String

Platform::String

winrt::hstring

A string representation of the month.

Attributes

See also

Applies to