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.

C# | Visual Basic | Visual C++ |
public static NSEventMask NSEventMaskFromType( NSEventType type )
Public Shared Function NSEventMaskFromType ( _ type As NSEventType _ ) As NSEventMask
public: static NSEventMask NSEventMaskFromType( NSEventType type )

- type (NSEventType)
- MISSING

The event mask corresponding to the specified type. The returned mask is equivalent to the number 1 left-shifted by type bits.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)