Share via


QLThumbnailGenerator.SaveBestRepresentation Method

Definition

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

Parameters

fileUrl
NSUrl
contentType
String
completionHandler
Action<NSError>
Attributes

Applies to