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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.