Sharing with ArcGIS Pro and ArcGIS Pro SDK.
For future reference, "ArcObjects" is a library of COM components that is tied to ArcGIS Desktop/ArcMap. Software development for/with ArcGIS Pro uses the ArcGIS Pro SDK and not ArcObjects. I mention this because: 1) the title of the post isn't very specific, and 2) stating the wrong SDK might reduce the number of people that look at the post and reply.