| Visual Basic (Declaration) | |
|---|---|
Public Overloads Shared Function Add( _ ByVal x As CVector, _ ByVal y As CVector _ ) As CVector | |
| Visual Basic (Usage) | |
|---|---|
Dim x As CVector Dim y As CVector Dim value As CVector value = CVector.Add(x, y) | |
Parameters
- x
- A CVector instance on the left side of the addition operator.
- y
- A CVector instance on the right side of the addition operator.
Return Value
A CVector object that represents the result of the addition.| Exception | Description |
|---|---|
| SizeMismatchException | x, y are not of the same length. |
Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7