Saves an instance of a component into a
object in the GIS thread.
[Visual Basic .NET] |
---|
Public Function SaveObject( _
ByVal Object As Object _
) As Object
|
[Unmanaged C++] |
---|
public: HRESULT SaveObject(
|
- Object
- The object to serialize (must support IPersistStream).
A stream (supporting IStream)
containing the serialized object.
The LoadObject and SaveObject methods allow you to serialize objects in the GIS thread, then deserialize them back into objects. Any object that supports IPersistStream can be saved and loaded using these methods. These methods allow you to copy objects between apartments.
[C#] | Copy Code | |
---|---|---|
|