IBM Lotus Symphony


打印 UNO 组件的方法、接口和属性

本部分提供打印通用网络对象 (UNO) 组件的方法、接口和属性的示例。

以下代码是打印 UNO 组件的方法、接口和属性的示例。 本示例中使用的组件名称是 oDoc。
Sub Main
	Set oDoc = StarDesktop.CurrentComponent
	MsgBox oDoc.dbg_methods 'Methods of this object.
	MsgBox oDoc.dbg_supportedInterfaces 'Interfaces of this object.
	MsgBox oDoc.dbg_properties 'Properties of this object.
End Sub

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