ObjectManager.GetObject(Int64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.