Show / Hide Table of Contents

    Class Field.Number

    Inheritance
    System.Object
    Field.Number
    Field.Byte
    Field.Double
    Field.Int16
    Field.Int32
    Field.Int64
    Field.Single
    Namespace: Lucene.Net.Documents
    Assembly: Lucene.Net.dll
    Syntax
    protected abstract class Number : object

    Methods

    | Improve this Doc View Source

    GetByteValue()

    Returns this object's value as a . Might involve rounding and/or truncating the value, so it fits into a .

    Declaration
    public virtual byte GetByteValue()
    Returns
    Type Description
    System.Byte

    the primitive value of this object.

    | Improve this Doc View Source

    GetDoubleValue()

    Returns this object's value as a . Might involve rounding.

    Declaration
    public abstract double GetDoubleValue()
    Returns
    Type Description
    System.Double

    the primitive value of this object.

    | Improve this Doc View Source

    GetInt16Value()

    Returns this object's value as a . Might involve rounding and/or truncating the value, so it fits into a .

    Declaration
    public virtual short GetInt16Value()
    Returns
    Type Description
    System.Int16

    the primitive value of this object.

    | Improve this Doc View Source

    GetInt32Value()

    Returns this object's value as an . Might involve rounding and/or truncating the value, so it fits into an .

    Declaration
    public abstract int GetInt32Value()
    Returns
    Type Description
    System.Int32

    the primitive value of this object.

    | Improve this Doc View Source

    GetInt64Value()

    Returns this object's value as a . Might involve rounding and/or truncating the value, so it fits into a .

    Declaration
    public abstract long GetInt64Value()
    Returns
    Type Description
    System.Int64

    the primitive value of this object.

    | Improve this Doc View Source

    GetSingleValue()

    Returns this object's value as a . Might involve rounding.

    Declaration
    public abstract float GetSingleValue()
    Returns
    Type Description
    System.Single

    the primitive value of this object.

    | Improve this Doc View Source

    ToString()

    Declaration
    public abstract override string ToString()
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    ToString(IFormatProvider)

    Declaration
    public abstract string ToString(IFormatProvider provider)
    Parameters
    Type Name Description
    IFormatProvider provider
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    ToString(String)

    Declaration
    public abstract string ToString(string format)
    Parameters
    Type Name Description
    System.String format
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    ToString(String, IFormatProvider)

    Declaration
    public abstract string ToString(string format, IFormatProvider provider)
    Parameters
    Type Name Description
    System.String format
    IFormatProvider provider
    Returns
    Type Description
    System.String
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)