UIDragPreview.GetPreview 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
| Name | Description |
|---|---|
| GetPreview(NSUrl) | |
| GetPreview(NSUrl, String) |
GetPreview(NSUrl)
[Foundation.Export("previewForURL:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static UIKit.UIDragPreview GetPreview(Foundation.NSUrl url);
[<Foundation.Export("previewForURL:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GetPreview : Foundation.NSUrl -> UIKit.UIDragPreview
Parameters
- url
- NSUrl
Returns
- Attributes
Applies to
GetPreview(NSUrl, String)
[Foundation.Export("previewForURL:title:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static UIKit.UIDragPreview GetPreview(Foundation.NSUrl url, string? title);
[<Foundation.Export("previewForURL:title:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GetPreview : Foundation.NSUrl * string -> UIKit.UIDragPreview
Parameters
- url
- NSUrl
- title
- String
Returns
- Attributes