fayrehouse
13 years agoFrequent Contributor
System.Collections.Specialized.StringCollection ??
Hi All, I have an object in our AUT that has a method that takes an object of the above type as a parameter.... And I'm having trouble defining an object of that type. Can anyone correct...
- 13 years agoHi Steve,
With TC 9.20 after adding "System, version=4.0.0.0, ..." to the CLR bridge, the following works:
function testTypeCollectionFromDotNet()
{
var myAssessments = dotNET.System_Collections_Specialized.StringCollection.zctor();
myAssessments.add("AA000191");
Log.Message(myAssessments.Item(0));
}
For more info,this will help.
Sincerely