PHAsset.FetchAssets 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
FetchAssets(PHAssetMediaType, PHFetchOptions) |
擷 PHAsset 取符合 |
FetchAssets(PHAssetCollection, PHFetchOptions) |
擷 PHAsset 取 中滿足 |
FetchAssets(String, PHFetchOptions) |
擷 PHAsset 取在高載中建立的物件,並指定 |
FetchAssets(PHFetchOptions) |
擷 PHAsset 取符合 |
FetchAssets(NSUrl[], PHFetchOptions) |
開發人員不應該使用此已被取代的方法。 |
FetchAssets(PHAssetMediaType, PHFetchOptions)
擷 PHAsset 取符合 options
之 指定 mediaType
的物件。
[Foundation.Export("fetchAssetsWithMediaType:options:")]
public static Photos.PHFetchResult FetchAssets (Photos.PHAssetMediaType mediaType, Photos.PHFetchOptions options);
static member FetchAssets : Photos.PHAssetMediaType * Photos.PHFetchOptions -> Photos.PHFetchResult
參數
- mediaType
- PHAssetMediaType
傳回
- 屬性
適用於
FetchAssets(PHAssetCollection, PHFetchOptions)
擷 PHAsset 取 中滿足 options
的物件 assetCollection
。
[Foundation.Export("fetchAssetsInAssetCollection:options:")]
public static Photos.PHFetchResult FetchAssets (Photos.PHAssetCollection assetCollection, Photos.PHFetchOptions options);
static member FetchAssets : Photos.PHAssetCollection * Photos.PHFetchOptions -> Photos.PHFetchResult
參數
- assetCollection
- PHAssetCollection
傳回
- 屬性
適用於
FetchAssets(String, PHFetchOptions)
擷 PHAsset 取在高載中建立的物件,並指定 burstIdentifier
符合 options
的 。
[Foundation.Export("fetchAssetsWithBurstIdentifier:options:")]
public static Photos.PHFetchResult FetchAssets (string burstIdentifier, Photos.PHFetchOptions options);
static member FetchAssets : string * Photos.PHFetchOptions -> Photos.PHFetchResult
參數
- burstIdentifier
- String
傳回
- 屬性
適用於
FetchAssets(PHFetchOptions)
擷 PHAsset 取符合 options
的物件。
[Foundation.Export("fetchAssetsWithOptions:")]
public static Photos.PHFetchResult FetchAssets (Photos.PHFetchOptions options);
static member FetchAssets : Photos.PHFetchOptions -> Photos.PHFetchResult
參數
傳回
- 屬性
適用於
FetchAssets(NSUrl[], PHFetchOptions)
開發人員不應該使用此已被取代的方法。
[Foundation.Export("fetchAssetsWithALAssetURLs:options:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, null)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public static Photos.PHFetchResult FetchAssets (Foundation.NSUrl[] assetUrls, Photos.PHFetchOptions options);
static member FetchAssets : Foundation.NSUrl[] * Photos.PHFetchOptions -> Photos.PHFetchResult
參數
- assetUrls
- NSUrl[]
傳回
- 屬性