ArcObjects Library Reference (DefenseSolutions)  

ICoordinate.GetCoords Method

The coordinate as x, y.

[Visual Basic .NET]
Public Function GetCoords ( _
    ByRef x As Double _
) As Double
[C#]
public double GetCoords (
    ref double x
);
[C++]
HRESULT GetCoords(
  double* x,
  double* y
);
[C++]

Parameters

x [out]   x is a parameter of type double y [out, retval]   y is a parameter of type double

Product Availability

Available with ArcGIS Engine and ArcGIS Desktop.

Description

A convenience method to set or get the coordinates x and y values. Using it saves you from creating a Point object. Otherwise it is identical to the Point property.

See Also

ICoordinate Interface