B
bharold41
Guest
I am trying to convert a complex .NET code to openedge. How do you access a Class Property of a .NET extent class? For Example: System.Strings Class has LENGTH property. what is the syntax to display LENGTH property? DEFINE VARIABLE someStrings AS CLASS "System.String[]" NO-UNDO. someStrings = CAST (System.Array:CreateInstance (Progress.Util.TypeHelper:GetType ("System.String"), 3), "System.String[]") . someStrings:SetValue ("Test", 0) . MESSAGE VALID-OBJECT (someStrings) SKIP someStrings:GetValue (0) VIEW-AS ALERT-BOX INFO BUTTONS OK. My class is very complex. I have just listed a STRINGS class as an example. Thanks for your help.
Continue reading...
Continue reading...