.net - Bug.Field method not available in C sharp. But available in VB.net for OTA Client -
i trying connect hpqc , list of defects , fields using otaclient.dll
but when use c # code this
bug thenewbug ; console.writeln( thenewbug.field("sdf"));
it not compile
but
dim thenewbug bug dim abc abc = thenewbug.field("sdf")
compiles properly.
i using same dll both
i want know how use field property of bug in c #
i suspect field collection. in c#, use square brackets parameter indexer, in same way use square brackets arrays.
so try
console.writeln(thenewbug.field["sdf"]);
Comments
Post a Comment