Is there a TryGetValue?

Posted by Community Admin on 04-Aug-2018 15:59

Is there a TryGetValue?

All Replies

Posted by Community Admin on 05-Sep-2012 00:00

I want to call GetValue("Property"); on a dynamic item and have it just return NULL if that property doesn't exist instead of the current Object Ref error...I also don't want to incur the expensive wrapping in a try\catch.

Does such a thing exist to see if a type has a property with X name?

This thread is closed