NSItemProvider.LoadDataRepresentationAsync 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
LoadDataRepresentationAsync(String) | |
LoadDataRepresentationAsync(String, NSProgress) |
LoadDataRepresentationAsync(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.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<Foundation.NSData> LoadDataRepresentationAsync (string typeIdentifier);
abstract member LoadDataRepresentationAsync : string -> System.Threading.Tasks.Task<Foundation.NSData>
override this.LoadDataRepresentationAsync : string -> System.Threading.Tasks.Task<Foundation.NSData>
Parameters
- typeIdentifier
- String
Returns
A task that represents the asynchronous LoadDataRepresentation operation. The value of the TResult parameter is of type System.Action<Foundation.NSData,Foundation.NSError>.
- Attributes
Applies to
LoadDataRepresentationAsync(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.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<Foundation.NSData> LoadDataRepresentationAsync (string typeIdentifier, out Foundation.NSProgress result);
abstract member LoadDataRepresentationAsync : string * -> System.Threading.Tasks.Task<Foundation.NSData>
override this.LoadDataRepresentationAsync : string * -> System.Threading.Tasks.Task<Foundation.NSData>
Parameters
- typeIdentifier
- String
- result
- NSProgress
Returns
- Attributes