NSFileManager.GetMountedVolumes 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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[]
參數
- options
- NSVolumeEnumerationOptions
傳回
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[]
- options
- NSVolumeEnumerationOptions
傳回
NSUrl[]