targetObject | 要转换的对象。 |
instanceId | The InstanceID of the Object to be converted. |
GlobalObjectId 转换的 GlobalObjectId。如果转换不成功,则将 GlobalObjectId 设置为默认 null ID:"GlobalObjectId_V1-0-00000000000000000000000000000000-0-0"。
Converts an Object reference or InstanceID to a GlobalObjectId.
This call is slow and should be avoided or used sparingly.
Additional resources: GetGlobalObjectIdsSlow, Object.GetInstanceID