GetProcessServiceManager Function

Возвращает ProcessServiceManager (центральный ServiceManager Uno).

Эта функция служит для создания экземпляра службы с помощью CreateInstanceWithArguments.

Синтаксис


oServiceManager = GetProcessServiceManager()

Пример:


    oServiceManager = GetProcessServiceManager()
    oIntrospection = oServiceManager.createInstance("com.sun.star.beans.Introspection");
    ' this is the same as the following statement:
    oIntrospection = CreateUnoService("com.sun.star.beans.Introspection")

Please support us!