---
title: symlinkTargetPath
framework: fileprovider
role: symbol
role_heading: Instance Property
path: fileprovider/nsfileprovideritemprotocol/symlinktargetpath
---

# symlinkTargetPath

The target of the symlink.

## Declaration

```swift
optional var symlinkTargetPath: String? { get }
```

## Discussion

Discussion If the extension contains an item with a typeIdentifier of public.symlink (kUTTypeSymLink), this property contains the symlink’s target. Otherwise, it’s nil.

## See Also

### Specifying Content Location

- [parentItemIdentifier](fileprovider/nsfileprovideritemprotocol/parentitemidentifier.md)
- [isTrashed](fileprovider/nsfileprovideritemprotocol/istrashed.md)
