UIImage.LoadDataAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
LoadDataAsync(String) |
Asynchronously loads data for the identified type from an item provider, returning a task that contains the data. |
LoadDataAsync(String, NSProgress) |
Asynchronously loads data for the identified type from an item provider, returning a task that contains the data, and storing the data in |
LoadDataAsync(String)
Asynchronously loads data for the identified type from an item provider, returning a task that contains the data.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<Foundation.NSData> LoadDataAsync (string typeIdentifier);
abstract member LoadDataAsync : string -> System.Threading.Tasks.Task<Foundation.NSData>
override this.LoadDataAsync : string -> System.Threading.Tasks.Task<Foundation.NSData>
Parameters
- typeIdentifier
- String
A Universal Type Identifier (UTI) indicating the type of data to load.
Returns
- Attributes
Applies to
LoadDataAsync(String, NSProgress)
Asynchronously loads data for the identified type from an item provider, returning a task that contains the data, and storing the data in result
.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<Foundation.NSData> LoadDataAsync (string typeIdentifier, out Foundation.NSProgress result);
abstract member LoadDataAsync : string * -> System.Threading.Tasks.Task<Foundation.NSData>
override this.LoadDataAsync : string * -> System.Threading.Tasks.Task<Foundation.NSData>
Parameters
- typeIdentifier
- String
A Universal Type Identifier (UTI) indicating the type of data to load.
- result
- NSProgress
The progress of the operation.
Returns
- Attributes