QLThumbnailGenerator.SaveBestRepresentationAsContent 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.
[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
- request
- QLThumbnailGenerationRequest
- fileUrl
- NSUrl
- contentType
- String
- Attributes