MSDN Library

SqlDateTime Operators and Type Conversions

The SqlDateTime type exposes the following members.

  Name Description
Public operator Static member Supported by the XNA Framework Addition Adds the period of time indicated by the supplied TimeSpan parameter, t, to the supplied SqlDateTime structure.
Public operator Static member Supported by the XNA Framework Equality Performs a logical comparison of two SqlDateTime structures to determine whether they are equal.
Public operator Static member Supported by the XNA Framework Explicit(SqlDateTime to DateTime) Converts the SqlDateTime structure to a DateTime structure.
Public operator Static member Supported by the XNA Framework Explicit(SqlString to SqlDateTime) Converts the SqlString parameter to a SqlDateTime.
Public operator Static member Supported by the XNA Framework GreaterThan Compares two instances of SqlDateTime to determine whether the first is greater than the second.
Public operator Static member Supported by the XNA Framework GreaterThanOrEqual Compares two instances of SqlDateTime to determine whether the first is greater than or equal to the second.
Public operator Static member Supported by the XNA Framework Implicit(DateTime to SqlDateTime) Converts a DateTime structure to a SqlDateTime structure.
Public operator Static member Supported by the XNA Framework Inequality Performs a logical comparison of two instances of SqlDateTime to determine whether they are not equal.
Public operator Static member Supported by the XNA Framework LessThan Compares two instances of SqlDateTime to determine whether the first is less than the second.
Public operator Static member Supported by the XNA Framework LessThanOrEqual Compares two instances of SqlDateTime to determine whether the first is less than or equal to the second.
Public operator Static member Supported by the XNA Framework Subtraction Subtracts the supplied TimeSpan structure, t, from the supplied SqlDateTime structure.
Top
Show:
© 2016 Microsoft