azurefx / DotNET.jl

Julia ❤️ .NET

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to Set a Class Property?

bradcarman opened this issue · comments

If I try the following

myassembly = T"System.Reflection.Assembly".LoadFrom(dllfile)
myclass = T"MyAssebmly.MyClass, myassembly ".new()
myclass.StringProperty = "test"

I get the error:
ERROR: type CLRObject has no field StringProperty

Is there another way I can assign class properties?