System.Reflection.GetProperty not available?
Posted: Wed Dec 25, 2019 9:09 am
When I want to use this script at the 2.40 sp4 version, that message appears.
_System.Reflection.GetProperty =_ System.Reflection.GetField Functionality changed that cannot be automatically converted. Needs manual overview_
mark.monroe 's code
http://ixtalk.beijerelectronics.us/down ... php?id=521
http://ixtalk.beijerelectronics.us/view ... y&start=10
I want to use , but get runtime error.
_System.Reflection.GetProperty =_ System.Reflection.GetField Functionality changed that cannot be automatically converted. Needs manual overview_
mark.monroe 's code
http://ixtalk.beijerelectronics.us/down ... php?id=521
http://ixtalk.beijerelectronics.us/view ... y&start=10
I want to use , but get runtime error.
Code: Select all
private GlobalDataItem GetGlobalDataItem(string propertyName)
{
PropertyInfo tagProperty = typeof(Neo.ApplicationFramework.Generated.Tags).GetProperty(propertyName);
if(tagProperty == null)
return null;
else
return tagProperty.GetValue(Globals.Tags, null) as GlobalDataItem;
}