GetProcessServiceManager Function

ត្រឡប់ ProcessServiceManager (Uno ServiceManager កណ្តាល) ។

អនុគមន៍​នេះ​ត្រូវ​បាន​ទាមទារ នៅ​ពេល​អ្នក​ចង់​បង្កើត​សេវា​មួយ​ភា្លម​ៗ​ដោយ​ប្រើ 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")