| Visual Basic (Declaration) | |
|---|---|
<XmlIgnoreAttribute()> Public Property Cols As Integer | |
| Visual Basic (Usage) | |
|---|---|
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.Setting the Cols property to a new value causes the Matrix to resize. This has the same effect as calling the Resize method.
Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7