# Vector.Division(Vector, Double)Vector.Division(Vector, Double)Vector.Division(Vector, Double) Operator

## Definition

Dividiert den angegebenen Vektor durch den angegebenen Skalar und gibt den sich ergebenden Vektor zurück.Divides the specified vector by the specified scalar and returns the resulting vector.

``````public:
static System::Windows::Vector operator /(System::Windows::Vector vector, double scalar);``````
``public static System.Windows.Vector operator / (System.Windows.Vector vector, double scalar);``
``static member ( / ) : System.Windows.Vector * double -> System.Windows.Vector``

#### Parameter

vector
Vector Vector Vector

Der zu dividierende Vektor.The vector to divide.

scalar
Double Double Double

Der Skalar, durch den `vector` dividiert wird.The scalar by which `vector` will be divided.

#### Gibt zurück

Das Ergebnis der Division von `vector` durch `scalar`.The result of dividing `vector` by `scalar`.

## Beispiele

Im folgenden Beispiel wird gezeigt, wie dieser Operator (/) verwendet wird, Vector um eine Struktur durch einen skalaren zu teilen.The following example shows how to use this operator (/) to divide a Vector structure by a scalar.

``````private Vector overloadedDivisionOperatorExample()
{
Vector vector1 = new Vector(20, 30);
Vector vectorResult = new Vector();
Double scalar1 = 75;

// Divide vector by scalar.
// vectorResult is approximately equal to (0.26667,0.4)
vectorResult = vector1 / scalar1;

return vectorResult;

}
``````
``````Private Function overloadedDivisionOperatorExample() As Vector
Dim vector1 As New Vector(20, 30)
Dim vectorResult As New Vector()
Dim scalar1 As Double = 75

' Divide vector by scalar.
' vectorResult is approximately equal to (0.26667,0.4)
vectorResult = vector1 / scalar1

Return vectorResult

End Function
``````