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
- operand1
Type: System.Spatial..::..Geography
The operand 1.
- operand2
Type: System.Spatial..::..Geography
The operand 2.
Return Value
Type: System..::..Boolean
The operation result.