GlobalObjectId.GetGlobalObjectIdsSlow

Declaration

public static void GetGlobalObjectIdsSlow(Object[] objects, out GlobalObjectId[] outputIdentifiers);

Parameters

objects Array of objects to obtain unique identifiers for.
outputIdentifiers Array of GlobalObjectId objects to write to.

Description

Creates an array of unique object identifiers based on an array of objects.

For each item in objects, this method obtains its unique GlobalObjectId and writes it to the corresponding element in outputIdentifiers. Both arrays must be the same size.

This method is slow. Use it sparingly and avoid making multiple calls.

Additional resources: GlobalObjectId.GetGlobalObjectIdSlow, Object.GetInstanceID


Declaration

public static void GetGlobalObjectIdsSlow(int[] instanceIds, out GlobalObjectId[] outputIdentifiers);

Parameters

outputIdentifiers Array of GlobalObjectId objects to write to.
instanceIds Array of instance IDs of the objects to obtain unique identifiers for.

Description

Creates an array of unique object identifiers based on an array of instance IDs.

For each object identified by an item in instanceIds, this method obtains the unique GlobalObjectId and writes it to the corresponding element in outputIdentifiers. Both arrays must be the same size.

This method is slow. Use it sparingly and avoid making multiple calls.

Additional resources: GlobalObjectId.GetGlobalObjectIdSlow, Object.GetInstanceID


Did you find this page useful? Please give it a rating: