.NET Matrix Library
Cols Property
See Also  Send Feedback



Gets or sets the number of columns of the current matrix.

Syntax

Visual Basic (Declaration) 
<XmlIgnoreAttribute()>
Public Property Cols As Integer
Visual Basic (Usage)Copy Code
Dim instance As Matrix
Dim value As Integer
 
instance.Cols = value
 
value = instance.Cols
C# 
[XmlIgnoreAttribute()]
public int Cols {get; set;}
C++/CLI 
[XmlIgnoreAttribute()]
public:
property int Cols {
   int get();
   void set (    int value);
}

Property Value

An integer equal to the number of the matrix columns.

Remarks

Setting the Cols property to a new value causes the Matrix to resize. This has the same effect as calling the Resize method.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7

See Also

.NET Matrix Library