> home > Custom Layer Boundary API

managed_object_get_containing_scope

January 19th 2020
Get the id of the scope that contains a particular managed object

Signature

C++
Managed_Scope
managed_object_get_containing_scope(Application_Links* app,
                                    Managed_Object object);

Parameters

app

the standard custom layer context pointer

object

the id of a managed object

Return

on success, when the object exists, the id of the managed scope that contains the object, otherwise zero