IBM Lotus Symphony


GetProcessServiceManager 函数 [运行时]

返回 ProcessServiceManager(中央 Uno ServiceManager)。

当希望使用 CreateInstanceWithArguments 来实例化一项服务时,需要使用此函数。

语法:

oServiceManager = GetProcessServiceManager()

示例:

oServiceManager = GetProcessServiceManager()

oIntrospection = oServiceManager.createInstance("com.sun.star.beans.Introspection") ;

这和以下语句的结果相同:

oIntrospection = CreateUnoService("com.sun.star.beans.Introspection")


产品反馈 | 其他文档 | 商标