
I want to make every Path unique by using id instead of name, names are not unique in my list which breaks GetItemByFullPath method.
How can I do this?
I want to make every Path unique by using id instead of name, names are not unique in my list which breaks GetItemByFullPath method.
How can I do this?
Hello,
GetItemByFullPath breaks up the full path by the PathSeparator string, which by default is "\". It then looks for a matching path segment at each level by calling into the itemAdapter.GetPath() method to get the path segment of each node. If you override your item adapter's GetPath() method to return IDs instead of names, then that should work.
Please log in to a validated account to post comments.