How can I use Debug.Write with dynamic data?

后端 未结 3 564
粉色の甜心
粉色の甜心 2020-12-20 10:53

I am doing some scripting of Adobe InDesign. Their COM implementation is really designed for VB, so it\'s not rigorous about reporting data types, occasionally necessitating

3条回答
  •  感动是毒
    2020-12-20 11:19

    No one has said it this way so I will.

    Change

     var str = frame.Contents.ToString();
    

    to

     string str = frame.Contents.ToString();
    

提交回复
热议问题