Formatter.WriteTimeSpan(TimeSpan, 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 TimeSpan value to the stream already attached to the formatter.
protected:
abstract void WriteTimeSpan(TimeSpan val, System::String ^ name);
protected abstract void WriteTimeSpan (TimeSpan val, string name);
abstract member WriteTimeSpan : TimeSpan * string -> unit
Protected MustOverride Sub WriteTimeSpan (val As TimeSpan, name As String)
Parameters
- val
- TimeSpan
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
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente GitHub Issues como mecanismo de comentarios sobre el contenido y lo sustituiremos por un nuevo sistema de comentarios. Para más información, vea:Enviar y ver comentarios de