Share via


QLThumbnailGenerator.SaveBestRepresentationAsContent Method

Definition

[Foundation.Export("saveBestRepresentationForRequest:toFileAtURL:asContentType:completionHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SaveBestRepresentationAsContent(QuickLookThumbnailing.QLThumbnailGenerationRequest request, Foundation.NSUrl fileUrl, string contentType, Action<Foundation.NSError> completionHandler);
[<Foundation.Export("saveBestRepresentationForRequest:toFileAtURL:asContentType:completionHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SaveBestRepresentationAsContent : QuickLookThumbnailing.QLThumbnailGenerationRequest * Foundation.NSUrl * string * Action<Foundation.NSError> -> unit
override this.SaveBestRepresentationAsContent : QuickLookThumbnailing.QLThumbnailGenerationRequest * Foundation.NSUrl * string * Action<Foundation.NSError> -> unit

Parameters

fileUrl
NSUrl
contentType
String
completionHandler
Action<NSError>
Attributes

Applies to