MonobjcMonobjc Documented Class Library
CanInitWithData Method (data)
NamespacesMonobjc.AppKitNSImageRepCanInitWithData(NSData)

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

Original signature is '+ (BOOL)canInitWithData:(NSData *)data'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static bool CanInitWithData(
	NSData data
)
Public Shared Function CanInitWithData ( _
	data As NSData _
) As Boolean
public:
static bool CanInitWithData(
	NSData^ data
)
Parameters
data (NSData)
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)