Click or drag to resize
ISpeciesObservationField Interface
This interface contains information on one piece of data related to a species observation. Properties Class and Property specifies which value this field contains. Property ClassIndex is used when one species observation can have values ​​for multiple instances of species observation classes. Property PropertyIndex is used when one species observation class can have multiple values for one species observation property. For example if information about one observer is represented as a species observation class must property ClassIndex be used to distinguish between different observers.

Namespace: ArtDatabanken.Data
Assembly: ArtDatabanken.Data (in ArtDatabanken.Data.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax
public interface ISpeciesObservationField

The ISpeciesObservationField type exposes the following members.

Properties
  NameDescription
Public propertyClass
Information about which species observation class that this value belongs to.
Public propertyDataContext
Data context.
Public propertyDataFields
Data fields with any information related to the species observation field.
Public propertyProperty
Information about which species observation property that this value belongs to.
Public propertyType
Type of the data.
Public propertyValue
Value of the data in string format. String representation of different data types: Boolean: String has value "True" or "False". DateTime: Format is YYYY-MM-DDTHH:mm:ss.fffffff, for example 1998-01-01T00:00:00.0000000. Float: Handled as a double-precision 64-bit number that complies with the IEC 60559:1989 (IEEE 754) standard for binary floating-point arithmetic. Format is D.DDDDDDDDDDE+or-DDD. for example 3.1415926536E+000. May have a leading minus sign. 32 bits integer: A sequence of digits without spaces or commas, for example 6258250. May have a leading minus sign. 64 bits integer: A sequence of digits without spaces or commas, for example 43254236258250. May have a leading minus sign. String: No conversion, contains actual value.
Top
Methods
  NameDescription
Public methodGetBoolean
Get property Value converted to a Boolean. This method should only be used if value is of type Boolean.
Public methodGetDateTime
Get property Value converted to a DateTime. This method should only be used if value is of type DateTime.
Public methodGetDouble
Get property Value converted to a Double. This method should only be used if value is of type Float64.
Public methodGetInt32
Get property Value converted to an Int32. This method should only be used if value is of type Int32.
Public methodGetInt64
Get property Value converted to an Int64. This method should only be used if value is of type Int64.
Public methodGetString
Get property Value converted to a String. This method should only be used if value is of type String.
Top
See Also