You don't plug the xbox in the pc or you could fry things.
All devices have an input or output or both ports.
The PC is output ONLY. You would need a capture card in order to capture the content.
I believe though in Windows 10 with the XBox app, you can capture your content, can you not?