Returns the mounted volumes available on the computer.
Original signature is '- (NSArray *)mountedVolumeURLsIncludingResourceValuesForKeys:(NSArray *)propertyKeys options:(NSVolumeEnumerationOptions)options'
Available in Mac OS X v10.6 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual NSArray MountedVolumeURLsIncludingResourceValuesForKeysOptions( NSArray propertyKeys, NSVolumeEnumerationOptions options )
Public Overridable Function MountedVolumeURLsIncludingResourceValuesForKeysOptions ( _ propertyKeys As NSArray, _ options As NSVolumeEnumerationOptions _ ) As NSArray
public: virtual NSArray^ MountedVolumeURLsIncludingResourceValuesForKeysOptions( NSArray^ propertyKeys, NSVolumeEnumerationOptions options )
Parameters
- propertyKeys (NSArray)
- On input, an array of property keys for which the corresponding resource values should be pre-fetched. Specify NULL for this array if you do not want any resource values. The property keys that can be requested are listed in Common File System Resource Keys.
- options (NSVolumeEnumerationOptions)
- Option flags for the enumeration. See “Mounted Volume Enumeration Options.”
Return Value
An array of NSURL objects identifying the mounted volumes.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)