Contains Method (Geography, Geography)

The geographic contains.

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

Syntax

'Declaration
Public Overridable Function Contains ( _
    operand1 As Geography, _
    operand2 As Geography _
) As Boolean
'Usage
Dim instance As SpatialOperations
Dim operand1 As Geography
Dim operand2 As Geography
Dim returnValue As Boolean

returnValue = instance.Contains(operand1, _
    operand2)
public virtual bool Contains(
    Geography operand1,
    Geography operand2
)
public:
virtual bool Contains(
    Geography^ operand1, 
    Geography^ operand2
)
abstract Contains : 
        operand1:Geography * 
        operand2:Geography -> bool 
override Contains : 
        operand1:Geography * 
        operand2:Geography -> bool 
public function Contains(
    operand1 : Geography, 
    operand2 : Geography
) : boolean

Parameters

Return Value

Type: System..::..Boolean
The operation result.

See Also

Reference

SpatialOperations Class

Contains Overload

System.Spatial Namespace