MonobjcMonobjc Documented Class Library
RegisterForDraggedTypes Method (pasteboardTypes)
NamespacesMonobjc.AppKitNSWindowRegisterForDraggedTypes(NSArray)

Registers a give set of pasteboard types as the pasteboard types the window will accept as the destination of an image-dragging session.

Original signature is '- (void)registerForDraggedTypes:(NSArray *)pasteboardTypes'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void RegisterForDraggedTypes(
	NSArray pasteboardTypes
)
Public Overridable Sub RegisterForDraggedTypes ( _
	pasteboardTypes As NSArray _
)
public:
virtual void RegisterForDraggedTypes(
	NSArray^ pasteboardTypes
)
Parameters
pasteboardTypes (NSArray)
An array of the pasteboard types the window will accept as the destination of an image-dragging session.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)