# Point.Add(Point, Vector) Method

## Definition

VectorPoint를 추가하고 그 결과를 Point 구조체로 반환합니다.Adds a Vector to a Point and returns the result as a Point structure.

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

#### Parameters

point
Point

추가할 Point 구조체입니다.The Point structure to add.

vector
Vector

추가할 Vector 구조체입니다.The Vector structure to add.

#### Returns

Point

`point``vector`의 합을 반환합니다.Returns the sum of `point` and `vector`.

## Examples

추가 하는이 예제를 PointVector 으로 결과 반환 하 고는 Vector 구조.This example adds a Point to a Vector and returns the result as a Vector structure.

``````private Point addPointAndVectorExample()
{
Point point1 = new Point(10, 5);
Vector vector1 = new Vector(20, 30);

// Add Point and Vector using the static Add method.
// pointResult is equal to (30,35).
Point pointResult = Point.Add(point1, vector1);

return pointResult;
}
``````

## Remarks

추가 Point 구조체를 Point 구조가 허용 되지 않습니다.Adding a Point structure to a Point structure is prohibited.