Katherine Mitchell
Katherine Mitchell

Reputation: 33

Does the Visual Studio SDK provide a way to determine the pin status of an open document?

I know of the existence of the Running Document Table and how to access it using the Visual Studio SDK, but I can't seem to find a way to determine UX-specific attributes about the file, like if it's pinned in the editor.

Upvotes: 3

Views: 119

Answers (1)

Stephen
Stephen

Reputation: 3084

Maybe you can try and get the IsPinned state using GetProperty and VsFramePropIdenum.

https://learn.microsoft.com/en-us/dotnet/api/microsoft.visualstudio.shell.vsframepropid?view=visualstudiosdk-2019

Upvotes: 1

Related Questions