Modifier

Partager via


DateOnly.ToShortDateString Method

Definition

Converts the value of the current DateOnly object to its equivalent short date string representation.

public:
 System::String ^ ToShortDateString();
public string ToShortDateString ();
member this.ToShortDateString : unit -> string
Public Function ToShortDateString () As String

Returns

A string that contains the short date string representation of the current DateOnly object.

Applies to