ListMethods 方法示例

下列示例获得Oval对象Oval1的数目和相应的方法列表。

Dim strMsg As String

Dim pvMethods As Variant

Dim iNumMethods As Integer

Oval1.ListMethods pvMethods, iNumMethods

strMsg = "This object has the following Methods: "

For Each i In pvMethods

   strMsg = strMsg + i + ","

  Next

MsgBox strMsg, vbOKOnly, "Message"

 

您最近了解过 iFIX 吗 ?

查看最新版 iFIX 的所有新功能。

让 iFIX 帮助您提高效率,降低成本。