I am working in a provider hosted app in O365 SP Online and I want to create a SP list view programatically.
How do I do that?
Edit:1
But the tricky part I have is apart from fields, I want to set up target audience as well
Edit:2 If I use this custom List view in a List view web part then how will I be able to set target audience for the same. This is the similar thread which explains how to do it using powershell. But I need some reference in C#