Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Zihadul Azam 26 posts 171 karma points c-trib
    Dec 20, 2018 @ 17:02
    Zihadul Azam

    Value cannot be null. Parameter name: String Error

    Hi, When I try to get the value of a property I get this error:

    Value cannot be null. Parameter name: String 

    My code:

    var blenderModel = Lecoati.LeBlender.Extension.Helper.DeserializeBlenderModel((object)control); // This function deserialize correctly without any error
    foreach (var item in blenderModel.Items)
         if ( item.HasProperty(alias) )
                string myValue = item.GetValue(alias);; // this line throws error

    Help me please!!

    • Thanks
Please Sign in or register to post replies

Write your reply to: