Partager via


Méthode SpatialOperations.Distance (Geography, Geography)

Indique une distance géographique.

Espace de noms :  System.Spatial
Assembly :  System.Spatial (en System.Spatial.dll)

Syntaxe

'Déclaration
Public Overridable Function Distance ( _
    operand1 As Geography, _
    operand2 As Geography _
) As Double
'Utilisation
Dim instance As SpatialOperations
Dim operand1 As Geography
Dim operand2 As Geography
Dim returnValue As Double

returnValue = instance.Distance(operand1, _
    operand2)
public virtual double Distance(
    Geography operand1,
    Geography operand2
)
public:
virtual double Distance(
    Geography^ operand1, 
    Geography^ operand2
)
abstract Distance : 
        operand1:Geography * 
        operand2:Geography -> float 
override Distance : 
        operand1:Geography * 
        operand2:Geography -> float 
public function Distance(
    operand1 : Geography, 
    operand2 : Geography
) : double

Paramètres

Valeur de retour

Type : System.Double
Résultat de l'opération.

Voir aussi

Référence

SpatialOperations Classe

Surcharge Distance

Espace de noms System.Spatial