Forum Discussion
kalldrexx
13 years agoContributor
Unfortunately, while this works for VB.Net objects, it does not work when you pass in C# var objects. For example, take the following method:
if you pass in a var as the textfieldObject parameter, it fails with the (useless) exception of "var(VarDelegate)"
public static void SetTextFieldValue(object textfieldObject, string value, bool useTabToExit = true)
{
var textfield = new var(textfieldObject);
// .... do stuff here
}
if you pass in a var as the textfieldObject parameter, it fails with the (useless) exception of "var(VarDelegate)"
Related Content
- 5 years agonoittom
- 11 years agoashok_natar
Recent Discussions
- 3 days agoMW_Didata