GetProcessServiceManager Function

Returns the ProcessServiceManager (central Uno ServiceManager).

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

Syntaks:

oServiceManager = GetProcessServiceManager()

Eksempel:


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

Supporter oss!