SpatialTypeExtensions.SendTo Method

WCF Data Services 5.0

Allows the delegation of the call to the proper type (geography or Geometry).

Namespace:  System.Spatial
Assembly:  System.Spatial (in System.Spatial.dll)

public static void SendTo(
	this ISpatial shape,
	SpatialPipeline destination
)

Parameters

shape
Type: System.Spatial.ISpatial
The instance that will have SendTo called.
destination
Type: System.Spatial.SpatialPipeline
The pipeline that the instance will be sent to.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ISpatial. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.103).aspx or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).aspx.
Show: