From Xojo Documentation

Revision as of 20:15, 11 May 2012 by WYu (talk | contribs) (Initial documentation on IDispatch.GetIDofName)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

IDispatch.GetIDofName(name As String) As Integer

Supported for all project types and targets.

Gets a single DISPID (which can be used on calls to Invoke) from the specified name. If the name cannot be found this function returns -1.