MonobjcMonobjc Documented Class Library
CanInitWithPasteboard Method (pasteboard)
NamespacesMonobjc.AppKitNSImageRepCanInitWithPasteboard(NSPasteboard)

Returns a Boolean value indicating whether the receiver can initialize itself from the data on the specified pasteboard.

Original signature is '+ (BOOL)canInitWithPasteboard:(NSPasteboard *)pasteboard'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static bool CanInitWithPasteboard(
	NSPasteboard pasteboard
)
Public Shared Function CanInitWithPasteboard ( _
	pasteboard As NSPasteboard _
) As Boolean
public:
static bool CanInitWithPasteboard(
	NSPasteboard^ pasteboard
)
Parameters
pasteboard (NSPasteboard)
The pasteboard containing the image data.
Return Value
YES if the receiver understands the format of the specified data and can use it to initialize itself; otherwise, NO.
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)