Editare

Partajați prin


ObjectManager.GetObject(Int64) Method

Definition

Returns the object with the specified object ID.

public:
 virtual System::Object ^ GetObject(long objectID);
public virtual object? GetObject (long objectID);
public virtual object GetObject (long objectID);
abstract member GetObject : int64 -> obj
override this.GetObject : int64 -> obj
Public Overridable Function GetObject (objectID As Long) As Object

Parameters

objectID
Int64

The ID of the requested object.

Returns

The object with the specified object ID if it has been previously stored or null if no such object has been registered.

Exceptions

The objectID parameter is less than or equal to zero.

Remarks

An object can be registered and issued an object ID with a call to the RegisterObject method.

Applies to