---
title: volumeSupportsAdvisoryFileLockingKey
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/urlresourcekey/volumesupportsadvisoryfilelockingkey
---

# volumeSupportsAdvisoryFileLockingKey

Key for determining whether the volume implements whole-file advisory locks in the style of flock, along with the O_EXLOCK and O_SHLOCK flags of the open function, returned as a Boolean NSNumber object (read-only).

## Declaration

```swift
static let volumeSupportsAdvisoryFileLockingKey: URLResourceKey
```

## See Also

### Volume support keys

- [isMountTriggerKey](foundation/urlresourcekey/ismounttriggerkey.md)
- [isVolumeKey](foundation/urlresourcekey/isvolumekey.md)
- [volumeCreationDateKey](foundation/urlresourcekey/volumecreationdatekey.md)
- [volumeIdentifierKey](foundation/urlresourcekey/volumeidentifierkey.md)
- [volumeLocalizedFormatDescriptionKey](foundation/urlresourcekey/volumelocalizedformatdescriptionkey.md)
- [volumeLocalizedNameKey](foundation/urlresourcekey/volumelocalizednamekey.md)
- [volumeMaximumFileSizeKey](foundation/urlresourcekey/volumemaximumfilesizekey.md)
- [volumeNameKey](foundation/urlresourcekey/volumenamekey.md)
- [volumeResourceCountKey](foundation/urlresourcekey/volumeresourcecountkey.md)
- [volumeSupportsAccessPermissionsKey](foundation/urlresourcekey/volumesupportsaccesspermissionskey.md)
- [volumeSupportsCasePreservedNamesKey](foundation/urlresourcekey/volumesupportscasepreservednameskey.md)
- [volumeSupportsCaseSensitiveNamesKey](foundation/urlresourcekey/volumesupportscasesensitivenameskey.md)
- [volumeSupportsCompressionKey](foundation/urlresourcekey/volumesupportscompressionkey.md)
- [volumeSupportsExclusiveRenamingKey](foundation/urlresourcekey/volumesupportsexclusiverenamingkey.md)
- [volumeSupportsExtendedSecurityKey](foundation/urlresourcekey/volumesupportsextendedsecuritykey.md)
