Share via


NSView.DragPromisedFilesOfTypes 方法

定义

[Foundation.Export("dragPromisedFilesOfTypes:fromRect:source:slideBack:event:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.None, "Use 'BeginDraggingSession (NSDraggingItem [], NSEvent, NSDraggingSource)' instead.")]
public virtual bool DragPromisedFilesOfTypes (string[] typeArray, CoreGraphics.CGRect aRect, Foundation.NSObject sourceObject, bool slideBack, AppKit.NSEvent theEvent);
abstract member DragPromisedFilesOfTypes : string[] * CoreGraphics.CGRect * Foundation.NSObject * bool * AppKit.NSEvent -> bool
override this.DragPromisedFilesOfTypes : string[] * CoreGraphics.CGRect * Foundation.NSObject * bool * AppKit.NSEvent -> bool

参数

typeArray
String[]
aRect
CGRect
sourceObject
NSObject
slideBack
Boolean
theEvent
NSEvent

返回

属性

适用于