MonobjcMonobjc Documented Class Library
CompletePathIntoStringCaseSensitiveMatchesIntoArrayFilterTypes Method (outputName, flag, outputArray, filterTypes)
NamespacesMonobjc.FoundationNSStringCompletePathIntoStringCaseSensitiveMatchesIntoArrayFilterTypes(NSString%, Boolean, NSArray%, NSArray)

Interprets the receiver as a path in the file system and attempts to perform filename completion, returning a numeric value that indicates whether a match was possible, and by reference the longest path that matches the receiver.

Original signature is '- (NSUInteger)completePathIntoString:(NSString **)outputName caseSensitive:(BOOL)flag matchesIntoArray:(NSArray **)outputArray filterTypes:(NSArray *)filterTypes'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSUInteger CompletePathIntoStringCaseSensitiveMatchesIntoArrayFilterTypes(
	out NSString outputName,
	bool flag,
	out NSArray outputArray,
	NSArray filterTypes
Public Overridable Function CompletePathIntoStringCaseSensitiveMatchesIntoArrayFilterTypes ( _
	<OutAttribute> ByRef outputName As NSString, _
	flag As Boolean, _
	<OutAttribute> ByRef outputArray As NSArray, _
	filterTypes As NSArray _
) As NSUInteger
virtual NSUInteger CompletePathIntoStringCaseSensitiveMatchesIntoArrayFilterTypes(
	[OutAttribute] NSString^% outputName, 
	bool flag, 
	[OutAttribute] NSArray^% outputArray, 
	NSArray^ filterTypes
outputName (NSString%)
Upon return, contains the longest path that matches the receiver.
flag (Boolean)
If YES, the methods considers case for possible completions.
outputArray (NSArray%)
Upon return, contains all matching filenames.
filterTypes (NSArray)
An array of NSString objects specifying path extensions to consider for completion. only paths whose extensions (not including the extension separator) match one of those strings.
Return Value
0 if no matches are found and 1 if exactly one match is found. In the case of multiple matches, returns the actual number of matching paths if outputArray is provided, or simply a positive value if outputArray is NULL.
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.Foundation (Module: Monobjc.Foundation)