Share via


Calendar.DayOfWeekAsString Method

Definition

Overloads

DayOfWeekAsString()

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

DayOfWeekAsString(Int32)

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

DayOfWeekAsString()

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

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

Returns

String

Platform::String

winrt::hstring

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

Attributes

See also

Applies to

DayOfWeekAsString(Int32)

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

public:
 virtual Platform::String ^ DayOfWeekAsString(int idealLength) = DayOfWeekAsString;
/// [Windows.Foundation.Metadata.Overload("DayOfWeekAsString")]
winrt::hstring DayOfWeekAsString(int const& idealLength);
[Windows.Foundation.Metadata.Overload("DayOfWeekAsString")]
public string DayOfWeekAsString(int idealLength);
function dayOfWeekAsString(idealLength)
Public Function DayOfWeekAsString (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 day of the week.

Attributes

See also

Applies to