Square Brakets [] ???

fredriko

Active member
Joined
Jun 3, 2004
Messages
35
Programming Experience
10+
I am having a look through some examples on how to manipulate the datagrid control and keep coming across a coding method which I cannot find an explaination for. When passing a CurrencyManager object (source) to a function, the source is enclosed in square brackets. Does anybody know why this has been done? Is there some purpose/significance for this syntax.


Here is the code in question
VB.NET:
  [size=1]e = [/size][size=1][color=#0000ff]New[/color][/size][size=1] DataGridFormatCellEventArgs(rowNum, Col, [/size][size=1][color=#0000ff]Me[/color][/size][size=1].GetColumnValueAtRow([source], rowNum)) [/size]
 

fredriko

Active member
Joined
Jun 3, 2004
Messages
35
Programming Experience
10+
I thought this feature was only available in VB6 and not VB.Net? In either case, the square brackets are only ever used in words with no spaces which are typically currency manager objects?
 
Top Bottom