FDO .NET API Reference Feature Data Objects
Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

OSGeo::FDO::Expression::DateTimeValue Class Reference

Inherits OSGeo::FDO::Expression::DataValue.

Inheritance diagram for OSGeo::FDO::Expression::DateTimeValue:

[legend]
List of all members.

Detailed Description

The DateTimeValue class derives from DataValue and represents a date or time.


Public Member Functions

 DateTimeValue (System::IntPtr unmanaged, System::Boolean autoDelete)
 Constructs a DateTimeValue object based on an unmanaged instance of the object.
 DateTimeValue (System::DateTime value)
 Constructs a default instance of an DateTimeValue using the specified arguments.
 DateTimeValue ()
 Constructs a default instance of an DateTimeValue with a value of null.
__property OSGeo::FDO::Schema::DataType get_DataType ()
 Gets the data type of the DateTimeValue.
__property System::DateTime get_DateTime ()
 Gets the date time value.
System::Void Process (OSGeo::FDO::Expression::IExpressionProcessor *processor)
 Overrides Expression.Process to pass the DateTimeValue to the appropriate expression processor operation.
__property System::Void set_DateTime (System::DateTime value)
 Sets the date time value.
System::String * ToString ()
 Returns the well defined text representation of this expression.

Static Public Member Functions

System::DateTime op_Explicit (OSGeo::FDO::Expression::DateTimeValue *value)
 A cast operator to get the date time value.

Constructor & Destructor Documentation

OSGeo::FDO::Expression::DateTimeValue::DateTimeValue  ) 
 

Constructs a default instance of an DateTimeValue with a value of null.

Returns:
Returns the created DateTimeValue

OSGeo::FDO::Expression::DateTimeValue::DateTimeValue System::DateTime  value  ) 
 

Constructs a default instance of an DateTimeValue using the specified arguments.

Parameters:
value Input a DateTime
Returns:
Returns the created DateTimeValue

OSGeo::FDO::Expression::DateTimeValue::DateTimeValue System::IntPtr  unmanaged,
System::Boolean  autoDelete
 

Constructs a DateTimeValue object based on an unmanaged instance of the object.

Parameters:
unmanaged Input A Pointer to the unmanaged object.
autoDelete Input Indicates if the constructed object should be automatically deleted once it no longer referenced.

Member Function Documentation

__property OSGeo ::FDO ::Schema ::DataType OSGeo::FDO::Expression::DateTimeValue::get_DataType  ) 
 

Gets the data type of the DateTimeValue.

Returns:
Returns an DataType

Reimplemented from OSGeo::FDO::Expression::DataValue.

__property System::DateTime OSGeo::FDO::Expression::DateTimeValue::get_DateTime  ) 
 

Gets the date time value.

Returns:
Returns a DateTime

System::DateTime OSGeo::FDO::Expression::DateTimeValue::op_Explicit OSGeo::FDO::Expression::DateTimeValue value  )  [static]
 

A cast operator to get the date time value.

Returns:
Returns a DateTime

System::Void OSGeo::FDO::Expression::DateTimeValue::Process OSGeo::FDO::Expression::IExpressionProcessor processor  ) 
 

Overrides Expression.Process to pass the DateTimeValue to the appropriate expression processor operation.

Parameters:
processor Input an IExpressionProcessor
Returns:
Returns nothing

Reimplemented from OSGeo::FDO::Expression::Expression.

__property System::Void OSGeo::FDO::Expression::DateTimeValue::set_DateTime System::DateTime  value  ) 
 

Sets the date time value.

Parameters:
value Input a DateTime
Returns:
Returns nothing

System::String* OSGeo::FDO::Expression::DateTimeValue::ToString  ) 
 

Returns the well defined text representation of this expression.

Returns:
Returns a character string

Reimplemented from OSGeo::FDO::Expression::Expression.


Comments or suggestions? Send us feedback.