How do I persist an ArcObjects workspace?

المشرف العام

Administrator
طاقم الإدارة
In a custom layer I have a workspace variable (File GDB or SDE) that I need to persist (save/load).Therefore I need to persist the ConnectionProperties of the workspace. Thankfully ConnectionProperties returns a PropertySet which implements IPersistStream so persisting this is trivial.But I also need to persist the type of workspace factory to use.

How do I do this?



أكثر...
 
أعلى