PHAssetCreationRequest.AddResource Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
AddResource(PHAssetResourceType, NSData, PHAssetResourceCreationOptions) |
|
AddResource(PHAssetResourceType, NSUrl, PHAssetResourceCreationOptions) |
Menambahkan data dalam |
AddResource(PHAssetResourceType, NSData, PHAssetResourceCreationOptions)
data
Menambahkan , dari yang ditentukan type
, ke ini PHAssetCreationRequest.
[Foundation.Export("addResourceWithType:data:options:")]
public virtual void AddResource (Photos.PHAssetResourceType type, Foundation.NSData data, Photos.PHAssetResourceCreationOptions options);
abstract member AddResource : Photos.PHAssetResourceType * Foundation.NSData * Photos.PHAssetResourceCreationOptions -> unit
override this.AddResource : Photos.PHAssetResourceType * Foundation.NSData * Photos.PHAssetResourceCreationOptions -> unit
Parameter
- type
- PHAssetResourceType
- data
- NSData
- Atribut
Berlaku untuk
AddResource(PHAssetResourceType, NSUrl, PHAssetResourceCreationOptions)
Menambahkan data dalam fileUrl
, dari , yang ditentukan type
ke ini PHAssetCreationRequest.
[Foundation.Export("addResourceWithType:fileURL:options:")]
public virtual void AddResource (Photos.PHAssetResourceType type, Foundation.NSUrl fileURL, Photos.PHAssetResourceCreationOptions options);
abstract member AddResource : Photos.PHAssetResourceType * Foundation.NSUrl * Photos.PHAssetResourceCreationOptions -> unit
override this.AddResource : Photos.PHAssetResourceType * Foundation.NSUrl * Photos.PHAssetResourceCreationOptions -> unit
Parameter
- type
- PHAssetResourceType
- fileURL
- NSUrl
- Atribut