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
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]