B
Bogdan
Hi,
I mainly develop in C++ and Java but I think I have a basic understanding of
C# which I use occasionally only. I came across the following declaration
of properties in on line docs:
DbParameterCollection.Item(Int32)
DbParameterCollection.Item(String)
Since this is not a 'typical' declaration of properties (e.g. not
<accessmod><return><name> + accessors) I don't really know how to interpret
it. How do I access items? Assuming that the collection is 'params',
'name' is a valid string, and 'i' is a valid index,can I simply do the
following?
params.Item[index] = param; param = params.Item[index]; params.Item[name] =
param;
Could someone please provide me with a quick explanation? Any pointers to
on-line docs will also be very helpful.
Thanks,
Bogdan
I mainly develop in C++ and Java but I think I have a basic understanding of
C# which I use occasionally only. I came across the following declaration
of properties in on line docs:
DbParameterCollection.Item(Int32)
DbParameterCollection.Item(String)
Since this is not a 'typical' declaration of properties (e.g. not
<accessmod><return><name> + accessors) I don't really know how to interpret
it. How do I access items? Assuming that the collection is 'params',
'name' is a valid string, and 'i' is a valid index,can I simply do the
following?
params.Item[index] = param; param = params.Item[index]; params.Item[name] =
param;
Could someone please provide me with a quick explanation? Any pointers to
on-line docs will also be very helpful.
Thanks,
Bogdan