Lotus Symphony 1.2


GetProcessServiceManager 函數 [執行時期]

傳回 ProcessServiceManager (中央 Uno ServiceManager)。

當您想用 CreateInstanceWithArguments 來實例化一項服務時,需要使用此函數。

語法:

oServiceManager = GetProcessServiceManager()

範例:

oServiceManager = GetProcessServiceManager()

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

與以下陳述式相同:

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


其他文件 | 商標