Hi,
I'm trying to set up a data collector to return the Count of a list returned back from a method. get_Content() returns the list, but I've tried:
.get_Count(), .Count(), .Count, .get_Count
all to no avail. Is there some syntax I'm missing, or some documentation somewhere which details better syntax?
I'm struggling to find any meaningful documentation anywhere in regards to this.
Thanks,
Pip
Hi,
I'm trying to set up a data collector to return the Count of a list returned back from a method. get_Content() returns the list, but I've tried:
.get_Count(), .Count(), .Count, .get_Count
all to no avail. Is there some syntax I'm missing, or some documentation somewhere which details better syntax?
I'm struggling to find any meaningful documentation anywhere in regards to this.
Thanks,
Pip
Is this a System.Collections.Generic.List object? If so, .Count should work and it is working for me right now.
Are you getting any error message in the data collector or does it just not show up?