編輯

共用方式為


NSUrl.LoadDataAsync Method

Definition

Overloads

LoadDataAsync(String)
LoadDataAsync(String, NSProgress)

LoadDataAsync(String)

[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

Returns

Attributes

Applies to

LoadDataAsync(String, NSProgress)

[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
result
NSProgress

Returns

Attributes

Applies to