Share via


Length Method

The geometric length.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Length ( _
    operand As GeometricCurve _
) As Double
'Usage
Dim operand As GeometricCurve
Dim returnValue As Double

returnValue = operand.Length()
public static double Length(
    this GeometricCurve operand
)
[ExtensionAttribute]
public:
static double Length(
    GeometricCurve^ operand
)
static member Length : 
        operand:GeometricCurve -> float 
public static function Length(
    operand : GeometricCurve
) : double

Parameters

Return Value

Type: System..::..Double
The operation result.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type GeometricCurve. 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

GeometryOperationsExtensions Class

System.Spatial Namespace