Take the 2-minute tour ×

I need to retrieve the layer ID of every layer returned by the IQueryFunctionality.Identify function (I am using ADF with .NET)

Identify function spits out a DataTable array for layers which have answered to the query. Since there's no way to know what layers have not answered, you need to check the TableName (which is the layer name) for every DataTable in the array.

But what if you have two layers with the same name? You can't know what layer answered and what layer didn't

The closest answer I could find on the internet is a link at esri forums but the topic got disbanded before reaching a solution (which may not exist perhaps).

This sounds like a problem to me, can someone please help me?

share|improve this question

migrated from stackoverflow.com Aug 30 '11 at 13:15

This question came from our site for professional and enthusiast programmers.

Your Answer



Browse other questions tagged or ask your own question.