GetProcessServiceManager Function

Returns the ProcessServiceManager (central Uno ServiceManager).

This function is required when you want to instantiate a service using CreateInstanceWithArguments.

Sintaksė:

oServiceManager = GetProcessServiceManager()

Pavyzdys:


    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")

Paremkite mus!