## Definición

Traslada la estructura Point especificada mediante la estructura Vector especificada y devuelve el resultado.Translates the specified Point by the specified Vector and returns the result.

``````public:
static System::Windows::Point operator +(System::Windows::Point point, System::Windows::Vector vector);``````
``public static System.Windows.Point operator + (System.Windows.Point point, System.Windows.Vector vector);``
``static member ( + ) : System.Windows.Point * System.Windows.Vector -> System.Windows.Point``
``Public Shared Operator + (point As Point, vector As Vector) As Point``

#### Parámetros

point
Point

Punto que se va a trasladar.The point to translate.

vector
Vector

Magnitud según la que se va a trasladar `point`.The amount by which to translate `point`.

Point

## Ejemplos

En el ejemplo siguiente se muestra cómo agregar un Point a Vector mediante el operador sobrecargado (+).The following example shows how to add a Point to a Vector using the overloaded (+) operator.

``````private Point overloadedAdditionOperatorExample()
{

Point point1 = new Point(10, 5);
Vector vector1 = new Vector(20, 30);

// pointResult is equal to (30,35).
Point pointResult = point1 + vector1;

return pointResult;
}
``````
``````Private Function overloadedAdditionOperatorExample() As Point

Dim point1 As New Point(10, 5)
Dim vector1 As New Vector(20, 30)