DateTimePicker.ToString DateTimePicker.ToString DateTimePicker.ToString DateTimePicker.ToString Method

定義

傳回代表目前 DateTimePicker 控制項的字串。Returns a string that represents the current DateTimePicker control.

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

傳回

字串,代表目前的 DateTimePickerA string that represents the current DateTimePicker. 這個字串包括了控制項的類型與 Value 屬性。The string includes the type and the Value property of the control.

適用於