XmlReader.ReadContentAsDateTimeOffset 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.
Reads the text content at the current position as a DateTimeOffset object.
public:
virtual DateTimeOffset ReadContentAsDateTimeOffset();
public virtual DateTimeOffset ReadContentAsDateTimeOffset ();
abstract member ReadContentAsDateTimeOffset : unit -> DateTimeOffset
override this.ReadContentAsDateTimeOffset : unit -> DateTimeOffset
Public Overridable Function ReadContentAsDateTimeOffset () As DateTimeOffset
Returns
The text content as a DateTimeOffset object.
Exceptions
An XmlReader method was called before a previous asynchronous operation finished. In this case, InvalidOperationException is thrown with the message "An asynchronous operation is already in progress."
Applies to
Зворотний зв’язок
https://aka.ms/ContentUserFeedback.
Очікується незабаром: протягом 2024 року ми будемо припиняти використання механізму реєстрації проблем у GitHub для зворотного зв’язку щодо вмісту й замінювати його новою системою зворотного зв’язку. Докладніше:Надіслати й переглянути відгук про