Share via


NSUrl.LoadDataAsync Method

Definition

Overloads

Name Description
LoadDataAsync(String)

Asynchronously loads data for the identified type from an item provider, returning a task that contains the data.

LoadDataAsync(String, NSProgress)

LoadDataAsync(String)

Asynchronously loads data for the identified type from an item provider, returning a task that contains the data.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<Foundation.NSData> LoadDataAsync(string typeIdentifier);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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

Implements

Attributes

Applies to

LoadDataAsync(String, NSProgress)

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<Foundation.NSData> LoadDataAsync(string typeIdentifier, out Foundation.NSProgress result);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member LoadDataAsync : string * NSProgress -> System.Threading.Tasks.Task<Foundation.NSData>
override this.LoadDataAsync : string * NSProgress -> System.Threading.Tasks.Task<Foundation.NSData>

Parameters

typeIdentifier
String
result
NSProgress

Returns

Implements

Attributes

Applies to