GetProcessServiceManager Function

Visszaadja a ProcessServiceManager (központi Uno ServiceManager) programot.

Ezt a függvényt akkor használja, ha egy szolgáltatásból a CreateInstanceWithArguments parancs segítségével akar egy példányt létrehozni.

Szintaxis:

oServiceManager = GetProcessServiceManager()

Példa:

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

Támogasson minket!