Class Field.Number
Inheritance
System.Object
Field.Number
Implements
System.IFormattable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Lucene.Net.dll
Syntax
[Serializable]
protected abstract class Number : IFormattable
Methods
|
Improve this Doc
View Source
GetByteValue()
Returns this object's value as a System.Byte. Might involve rounding and/or
truncating the value, so it fits into a System.Byte.
Declaration
public virtual byte GetByteValue()
Returns
Type |
Description |
System.Byte |
the primitive System.Byte value of this object.
|
|
Improve this Doc
View Source
GetDoubleValue()
Returns this object's value as a System.Double. Might involve rounding.
Declaration
public abstract double GetDoubleValue()
Returns
Type |
Description |
System.Double |
the primitive System.Double value of this object.
|
|
Improve this Doc
View Source
GetInt16Value()
Returns this object's value as a System.Int16. Might involve rounding and/or
truncating the value, so it fits into a System.Int16.
Declaration
public virtual short GetInt16Value()
Returns
Type |
Description |
System.Int16 |
the primitive System.Int16 value of this object.
|
|
Improve this Doc
View Source
GetInt32Value()
Returns this object's value as an System.Int32. Might involve rounding and/or
truncating the value, so it fits into an System.Int32.
Declaration
public abstract int GetInt32Value()
Returns
Type |
Description |
System.Int32 |
the primitive System.Int32 value of this object.
|
|
Improve this Doc
View Source
GetInt64Value()
Returns this object's value as a System.Int64. Might involve rounding and/or
truncating the value, so it fits into a System.Int64.
Declaration
public abstract long GetInt64Value()
Returns
Type |
Description |
System.Int64 |
the primitive System.Int64 value of this object.
|
|
Improve this Doc
View Source
GetSingleValue()
Returns this object's value as a System.Single. Might involve rounding.
Declaration
public abstract float GetSingleValue()
Returns
Type |
Description |
System.Single |
the primitive System.Single value of this object.
|
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
|
Improve this Doc
View Source
Declaration
public virtual string ToString(IFormatProvider provider)
Parameters
Type |
Name |
Description |
System.IFormatProvider |
provider |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ToString(String)
Declaration
public virtual string ToString(string format)
Parameters
Type |
Name |
Description |
System.String |
format |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public abstract string ToString(string format, IFormatProvider provider)
Parameters
Type |
Name |
Description |
System.String |
format |
|
System.IFormatProvider |
provider |
|
Returns
Type |
Description |
System.String |
|
Implements
System.IFormattable