Click or drag to resize

MySqlGeometry Structure

Represents a geometry data type object in a MySql database.

Namespace:  MySql.Data.Types
Assembly:  MySql.Data (in MySql.Data.dll) Version: 8.0.22
Syntax
public struct MySqlGeometry

The MySqlGeometry type exposes the following members.

Constructors
  NameDescription
Public methodMySqlGeometry(Boolean)
Initializes a new instance of the MySqlGeometry class
Public methodMySqlGeometry(Double, Double)
Initializes a new instance of the MySqlGeometry class
Public methodMySqlGeometry(MySqlDbType, Byte)
Initializes a new instance of the MySqlGeometry class
Public methodMySqlGeometry(Double, Double, Int32)
Initializes a new instance of the MySqlGeometry class
Top
Properties
  NameDescription
Public propertyIsNull
Gets a boolean value that signals if the type is null.
Public propertySRID
Gets the SRID value.
Public propertyValue
Gets the value associated to this type.
Public propertyXCoordinate
Gets the x coordinate.
Public propertyYCoordinate
Gets the y coordinate.
Top
Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetWKT
Gets the well-known text representation of the geomtry object.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberParse
Get value from WKT format SRID=0;POINT (x y) or POINT (x y)
Public methodStatic memberSetDSInfo
Sets the DSInfo when GetSchema is called for the DataSourceInformation collection.
Public methodToString
Returns the Well-Known Text representation of this value
(Overrides ValueTypeToString.)
Public methodStatic memberTryParse
Try to get value from WKT format SRID=0;POINT (x y) or POINT (x y)
Top
See Also