wwDotNetBridge::InvokeStaticMethod

This method allows you to call a static .NET method such as System.Windows.Forms.MessageBox.Show() for example. Because the methods are static you can't create an instance and pass it back to FoxPro, instead this method has to be used to invoke a method.

o.InvokeStaticMethod(lcTypeName, lcMethod, lvParm1, lvParm2, lvParm3, lvParm4, lvParm5)

Return Value

Result value - check the Error flag for errors

Parameters

lcTypeName
The fully qualified type name (System.Net.Mail.MailMessage)

lcMethod
The method to call on the type.

lvParm1..lvParm5
Up to 5 parameters for the method call.

See also:

Class wwDotNetBridge


  Last Updated: 7/9/2007 | © West Wind Technologies, 2008