System.Xml.XmlReader.ReadContentAsObject C# (CSharp) Méthode

ReadContentAsObject() public méthode

public ReadContentAsObject ( ) : object
Résultat object
        public virtual object ReadContentAsObject()
        {
            if (!CanReadContentAs())
            {
                throw CreateReadContentAsException(nameof(ReadContentAsObject));
            }
            return InternalReadContentAsString();
        }

Usage Example

 public override object ReadContentAsObject()
 {
     CheckAsync();
     return(_coreReader.ReadContentAsObject());
 }