FindById by default returns an invalid EditElementHandle if the id references a deleted ElementRef (in memory). There's not much reason to create an EditElementHandle for a deleted element, since you won't be able to modify it, and EditElementHandles exist for modification, so that probably why it's a method on EditElementHandle.
Normally you don't end up with element ids of deleted elements, but the dependency callbacks are a special case. There's also no reason why you can't use EditElementHandle::FindById though, you can pass it into a method that wants and ElementHandle, etc.
-B
Normally you don't end up with element ids of deleted elements, but the dependency callbacks are a special case. There's also no reason why you can't use EditElementHandle::FindById though, you can pass it into a method that wants and ElementHandle, etc.
-B