共用方式為


NSFileManager.GetMountedVolumes 方法

定義

多載

GetMountedVolumes(NSArray, NSVolumeEnumerationOptions)

裝置上掛接磁片區的 URL。

GetMountedVolumes(NSString[], NSVolumeEnumerationOptions)

GetMountedVolumes(NSArray, NSVolumeEnumerationOptions)

裝置上掛接磁片區的 URL。

[Foundation.Export("mountedVolumeURLsIncludingResourceValuesForKeys:options:")]
public virtual Foundation.NSUrl[] GetMountedVolumes (Foundation.NSArray properties, Foundation.NSVolumeEnumerationOptions options);
abstract member GetMountedVolumes : Foundation.NSArray * Foundation.NSVolumeEnumerationOptions -> Foundation.NSUrl[]
override this.GetMountedVolumes : Foundation.NSArray * Foundation.NSVolumeEnumerationOptions -> Foundation.NSUrl[]

參數

properties
NSArray

即將加入。

這個參數可以是 null

傳回

NSUrl[]
屬性

適用於

GetMountedVolumes(NSString[], NSVolumeEnumerationOptions)

public Foundation.NSUrl[] GetMountedVolumes (Foundation.NSString[] properties, Foundation.NSVolumeEnumerationOptions options);
member this.GetMountedVolumes : Foundation.NSString[] * Foundation.NSVolumeEnumerationOptions -> Foundation.NSUrl[]

參數

properties
NSString[]

傳回

NSUrl[]

適用於