System.Xml.XmlDictionaryReader.XmlWrappedReader.ReadContentAsFloat C# (CSharp) Méthode

ReadContentAsFloat() public méthode

public ReadContentAsFloat ( ) : System.Single
Résultat System.Single
            public override Single ReadContentAsFloat()
            {
                try
                {
                    return _reader.ReadContentAsFloat();
                }
                catch (ArgumentException exception)
                {
                    throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.CreateConversionException("Single", exception));
                }
                catch (FormatException exception)
                {
                    throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.CreateConversionException("Single", exception));
                }
                catch (OverflowException exception)
                {
                    throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.CreateConversionException("Single", exception));
                }
            }