MonobjcMonobjc Documented Class Library
RegisterForDraggedTypes Method (newTypes)
NamespacesMonobjc.AppKitNSViewRegisterForDraggedTypes(NSArray)

Registers the pasteboard types that the receiver will accept as the destination of an image-dragging session.

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

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void RegisterForDraggedTypes(
	NSArray newTypes
)
Public Overridable Sub RegisterForDraggedTypes ( _
	newTypes As NSArray _
)
public:
virtual void RegisterForDraggedTypes(
	NSArray^ newTypes
)
Parameters
newTypes (NSArray)
An array of uniform type identifiers. See Types for Standard Data (Mac OS X 10.6 and later) for descriptions of the pasteboard type identifiers.
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)