public IList<string> Browse(bool isArea, string filter)
{
Session session = m_server.Session;
if (session == null)
{
throw ComUtils.CreateComException(ResultIds.E_FAIL);
}
lock (m_lock)
{
// fetch the children.
List<AeBrowseElement> children = Browse(session, m_position, filter, isArea);
// create list of names.
List<string> names = new List<string>(children.Count);
for (int ii = 0; ii < children.Count; ii++)
{
names.Add(children[ii].BrowseText);
}
return names;
}
}