This document is archived and information here might be outdated.  Recommended version.


IVector.AddVector Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IV > IVector Interface > IVector.AddVector Method
ArcGIS Developer Help

IVector.AddVector Method

Construct a new vector by adding a different vector to this vector.

[Visual Basic .NET]
Public Function AddVector ( _
    ByVal otherVector As IVector _
) As IVector
[C#]
public IVector AddVector (
    IVector otherVector
);
[C++]
HRESULT AddVector(
  IVector* otherVector
);
[C++]
Parameters
otherVector 

otherVector is a parameter of type IVector*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Returns a newly constructed Vector by adding the components of the base vector to the corresponding components of the input vector.

Remarks

 

IVector AddVector Example

See Also

IVector Interface