Share via


UIDragInteractionDelegate_Extensions.GetSessionForAddingItems 方法

定义

调用的方法,用于消除在多个会话处于活动状态时要向哪个会话添加项的歧义。

public static UIKit.IUIDragSession GetSessionForAddingItems (this UIKit.IUIDragInteractionDelegate This, UIKit.UIDragInteraction interaction, UIKit.IUIDragSession[] sessions, CoreGraphics.CGPoint point);
static member GetSessionForAddingItems : UIKit.IUIDragInteractionDelegate * UIKit.UIDragInteraction * UIKit.IUIDragSession[] * CoreGraphics.CGPoint -> UIKit.IUIDragSession

参数

This
IUIDragInteractionDelegate

此扩展方法操作的实例。

interaction
UIDragInteraction

发出请求的交互。

sessions
IUIDragSession[]

要从中选择的会话。

point
CGPoint

视图坐标系中的触摸点。

返回

适用于