MonobjcMonobjc Documented Class Library
NSEventMaskFromType Method (type)
NamespacesMonobjc.AppKitAppKitFrameworkNSEventMaskFromType(NSEventType)

Returns the event mask for the specified type.

Original signature is 'static NSUInteger NSEventMaskFromType ( NSEventType type );'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSEventMask NSEventMaskFromType(
	NSEventType type
)
Public Shared Function NSEventMaskFromType ( _
	type As NSEventType _
) As NSEventMask
public:
static NSEventMask NSEventMaskFromType(
	NSEventType type
)
Parameters
type (NSEventType)
MISSING
Return Value
The event mask corresponding to the specified type. The returned mask is equivalent to the number 1 left-shifted by type bits.
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)