Within Method (Geometry, Geometry)

The geometric within.

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

Syntax

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

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

Parameters

Return Value

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

See Also

Reference

SpatialOperations Class

Within Overload

System.Spatial Namespace