Formatter.WriteDateTime(DateTime, String) Method
Definition
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.
When overridden in a derived class, writes a DateTime value to the stream already attached to the formatter.
protected:
abstract void WriteDateTime(DateTime val, System::String ^ name);
protected abstract void WriteDateTime (DateTime val, string name);
abstract member WriteDateTime : DateTime * string -> unit
Protected MustOverride Sub WriteDateTime (val As DateTime, name As String)
Parameters
- val
- DateTime
The value to write.
- name
- String
The name of the member.
Notes to Implementers
You must implement this method in a derived class.
Applies to
See also
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.