NET (Agent, Installation)

cancel
Showing results for 
Search instead for 
Did you mean: 

Data Collector getter chain Syntax for getting the Count of a list in .Net

Creator

Data Collector getter chain Syntax for getting the Count of a list in .Net

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

Data Collector getter chain Syntax for getting the Count of a list in .Net
1 REPLY 1

Re: Data Collector getter chain Syntax for getting the Count of a list in .Net

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?