Click or drag to resize
Constant Methods

The Constant type exposes the following members.

Methods
  NameDescription
Public methodGetValueAsChar
Gets the value of this Constant as a char if it can be converted.
Public methodGetValueAsDate Obsolete.
Gets the value of this Constant as a Datetime containing only a date part if it can be converted.
Public methodGetValueAsDatetime
Gets the value of this Constant as a Datetime if it can be converted.
Public methodGetValueAsFloat32
Gets the value of this Constant as a Float32 if it can be converted.
Public methodGetValueAsFloat64
Gets the value of this Constant as a Float64 if it can be converted.
Public methodGetValueAsInt32
Gets the value of this Constant as an Int32 if it can be converted.
Public methodGetValueAsInt64
Gets the value of this Constant as an Int64 if it can be converted.
Public methodGetValueAsString
Gets the value of this Constant as a string if it can be converted.
Public methodGetValueAsTime Obsolete.
Gets the value of this Constant as a Datetime containing only a time part if it can be converted.
Public methodPrint(Stream)
Prints this constant into 'output'.
Public methodPrint(TextWriter)
Prints this constant into 'writer'.
Top
See Also