SpatialTypeExtensions.SendTo Method

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

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Sub SendTo ( _
    shape As ISpatial, _
    destination As SpatialPipeline _
)
'Usage
Dim shape As ISpatial 
Dim destination As SpatialPipeline 

shape.SendTo(destination)
public static void SendTo(
    this ISpatial shape,
    SpatialPipeline destination
)
[ExtensionAttribute]
public:
static void SendTo(
    ISpatial^ shape, 
    SpatialPipeline^ destination
)
static member SendTo : 
        shape:ISpatial * 
        destination:SpatialPipeline -> unit
public static function SendTo(
    shape : ISpatial, 
    destination : SpatialPipeline
)

Parameters

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) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).

See Also

Reference

SpatialTypeExtensions Class

System.Spatial Namespace