cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

NET (Agent, Installation)

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

Pip.Turner
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

By replying you agree to the Terms and Conditions of the AppDynamics Community.
Data Collector getter chain Syntax for getting the Count of a list in .Net
1 REPLY 1
Harrison.Clark
Builder

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?