.NET Matrix Library
Item Property
See Also  Send comments on this topic


index
A zero based index of the element to get or to set.
Gets or sets a single vector element.

Syntax

Visual Basic (Declaration) 
Public Default Property Item( _
   ByVal index As Integer _
) As Complex
C# 
public Complex this( 
   int index
) {get; set;}
C++/CLI 
public:
property Complex default [int] {
   Complex get(int index);
   void set (int indexComplex value);
}

Parameters

index
A zero based index of the element to get or to set.

Property Value

complex value.

Exceptions

ExceptionDescription
IndexOutOfBoundsExceptionindex exceeds vector length.

Remarks

This is the default property of the CVector object when using it in Visual Basic. It is the indexer of the CVector object when used in C#.

Requirements

Platforms: Windows 7, Windows Vista, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows 2000

See Also

.NET Matrix Library Documentation