ObjectManager::GetObject Method (Int64)
.NET Framework (current version)
Returns the object with the specified object ID.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- objectID
-
Type:
System::Int64
The ID of the requested object.
Return Value
Type: System::Object^The object with the specified object ID if it has been previously stored or null if no such object has been registered.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The objectID parameter is less than or equal to zero. |
An object can be registered and issued an object ID with a call to the RegisterObject method.
.NET Framework
Available since 1.1
Available since 1.1
Show: