I need some help on SearchService and DatabaseSeacrh on PLM objects via C#

Salim KOC

I need some help on SearchService and DatabaseSeacrh on PLM objects via C#

I need some help on SearchService and DatabaseSeacrh on PLM objects via C#. I am trying to convert below VBA to C# but i get error on :

CATIA.GetSessionService and i cant figure out which type library to use for SearchService and DatabaseSearch.

 

Anyone have an idea on this?

Dim aSearchSrv as SearchService
 Set aSearchSrv = CATIA.GetSessionService("Search") 
 Dim aDBSearch as DatabaseSearch
 Set aDBSearch = aSearchSrv.DatabaseSearch