Compartir a través de


SqlGeometryBuilder.AddLine Método (Double, Double, Nullable<Double>, Nullable<Double>)

Constructs additional points in the call sequence for a geometry type.

Espacio de nombres:  Microsoft.SqlServer.Types
Ensamblado:  Microsoft.SqlServer.Types (en Microsoft.SqlServer.Types.dll)

Sintaxis

'Declaración
Public Overridable Sub AddLine ( _
    x As Double, _
    y As Double, _
    z As Nullable(Of Double), _
    m As Nullable(Of Double) _
)
'Uso
Dim instance As SqlGeometryBuilder 
Dim x As Double 
Dim y As Double 
Dim z As Nullable(Of Double)
Dim m As Nullable(Of Double)

instance.AddLine(x, y, z, m)
public virtual void AddLine(
    double x,
    double y,
    Nullable<double> z,
    Nullable<double> m
)
public:
virtual void AddLine(
    double x, 
    double y, 
    Nullable<double> z, 
    Nullable<double> m
)
abstract AddLine : 
        x:float * 
        y:float * 
        z:Nullable<float> * 
        m:Nullable<float> -> unit  
override AddLine : 
        x:float * 
        y:float * 
        z:Nullable<float> * 
        m:Nullable<float> -> unit
public function AddLine(
    x : double, 
    y : double, 
    z : Nullable<double>, 
    m : Nullable<double>
)

Parámetros

  • x
    Tipo: System.Double
    A double that specifies the x-coordinate of a point in a geometry figure.
  • y
    Tipo: System.Double
    A double that specifies the y-coordinate of a point in a geometry figure.
  • z
    Tipo: System.Nullable<Double>
    A double that specifies the z-coordinate of a point in a geometry figure. Is Nullable.

Implementa

IGeometrySink.AddLine(Double, Double, Nullable<Double>, Nullable<Double>)

Comentarios

Method is used together with BeginFigure() to construct the points of a geometry type figure. BeginFigure() can only construct the starting endpoint for a geometry type figure. Use AddLine() to construct additional points for the figure.

Method throws a FormatException when there is invalid input.

Vea también

Referencia

SqlGeometryBuilder Clase

Sobrecarga de AddLine

Espacio de nombres Microsoft.SqlServer.Types