2 Replies Latest reply on Sep 13, 2018 8:30 AM by Carmen Lopera

    GetCustomProperty Document Manager API

    Carmen Lopera

      I am calling GetCustomProperty with a property name that the part doesn't have and instead of returning null is crashing. The documentation doesn't say anything about the return value if the property doesn't exist. Do we need to call this method when we know the property exists?

       

      string sCustPropStr = null;

      SwDmCustomInfoType nPropType = 0;

      sCustPropStr = swDoc.GetCustomProperty("MyProperty", out nPropType);