![how to pin a document in the taskbar how to pin a document in the taskbar](https://149584678.v2.pressablecdn.com/wp-content/uploads/2021/08/File-Explorer-Unpin-from-taskbar.png)
If the TaskbarManager class isn't available, avoid executing any calls to the APIs. You can use the ApiInformation.IsTypePresent method to perform this check. If your app supports older versions of Windows 10, you need to check whether the TaskbarManager class is available.
#How to pin a document in the taskbar how to#
(This article explains how to determine whether pinning is supported.)
![how to pin a document in the taskbar how to pin a document in the taskbar](https://www.addictivetips.com/app/uploads/2017/10/show-file-extensions.jpg)
![how to pin a document in the taskbar how to pin a document in the taskbar](https://i.ytimg.com/vi/ldc-04ylEIc/mqdefault.jpg)
Requires Fall Creators Update: You must target SDK 16299 and be running build 16299 or higher to use the taskbar APIs.