Loads an instance of a component in the GIS
thread from a object.
[Visual Basic .NET] |
---|
Public Function LoadObject( _
ByVal Stream As Object _
) As Object
|
[C#] |
---|
public Object LoadObject(
|
[Managed C++] |
---|
public: IUnknown^ LoadObject(
|
[Java] |
---|
public Object loadObject(
|
[Unmanaged C++] |
---|
public: HRESULT LoadObject(
|
- Stream
- Stream (must support IStream) containing the serialized object.
Returns the new object deserialized in the
GIS thread for this context.
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 | |
---|---|---|
|