GetProcessServiceManager Function

ProcessServiceManager (āļ¸āļ°āˇŠâ€āļē Uno ServiceManager) āļ†āļ´āˇƒāˇ” āļŊāļļāˇ āļ¯āˇ™āļēāˇ’.

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

Syntax:

oServiceManager = GetProcessServiceManager()

Example:


    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!