Compartilhar via


UIImage.LoadData(String, Action<NSData,NSError>) Método

Definição

Carrega dados para o tipo identificado de um provedor de itens.

[Foundation.Export("loadDataWithTypeIdentifier:forItemProviderCompletionHandler:")]
[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 Foundation.NSProgress LoadData (string typeIdentifier, Action<Foundation.NSData,Foundation.NSError> completionHandler);
abstract member LoadData : string * Action<Foundation.NSData, Foundation.NSError> -> Foundation.NSProgress
override this.LoadData : string * Action<Foundation.NSData, Foundation.NSError> -> Foundation.NSProgress

Parâmetros

typeIdentifier
String

Um UTI (Identificador de Tipo Universal) que indica o tipo de dados a serem carregados.

completionHandler
Action<NSData,NSError>

O método chamado depois que os dados são carregados.

Retornos

Implementações

Atributos

Aplica-se a