What kind of data type for 'input features' in tools?

Discussion created by iaminsu12 on May 10, 2012
Latest reply on May 10, 2012 by iaminsu12

I have a difficulty with ArcObject .net.

PointsToLine P2Line = new PointsToLine();

P2Line.Input_Features = something; 

I tried to make a line from two points. So I created P2Line for that, but I failed to input a list of point features.

I tried Array of strings which are name of layers, and Array of FeatureClasses, and List of Layer names and FeatureClasses, but all of them failed.

How can I input list of point features properly?

I'm completely new on ArcObject. I'm just researcher who try to use it, not developer. So it would be appreciate to explain easily as possible.