MonobjcMonobjc Documented Class Library
CanInitWithFile Method (fileName)
NamespacesMonobjc.QTKitQTMovieCanInitWithFile(NSString)

Returns YES if the contents of the specified file can be used to initialize a QTMovie object.

Original signature is '+ (BOOL)canInitWithFile:(NSString *)fileName'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static bool CanInitWithFile(
	NSString fileName
)
Public Shared Function CanInitWithFile ( _
	fileName As NSString _
) As Boolean
public:
static bool CanInitWithFile(
	NSString^ fileName
)
Parameters
fileName (NSString)
An NSString object that specifies a full pathname to a file.
Return Value
YES if a QTMovie object can be initialized from the specified file, NO otherwise.
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.QTKit (Module: Monobjc.QTKit)