MonobjcMonobjc Documented Class Library
PathsForResourcesOfTypeInDirectoryForLocalization Method (extension, subpath, localizationName)
NamespacesMonobjc.FoundationNSBundlePathsForResourcesOfTypeInDirectoryForLocalization(NSString, NSString, NSString)

Returns an array containing the file for all bundle resources having the specified filename extension, residing in the specified resource subdirectory, and limited to global resources and those associated with the specified localization.

Original signature is '- (NSArray *)pathsForResourcesOfType:(NSString *)extension inDirectory:(NSString *)subpath forLocalization:(NSString *)localizationName'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSArray PathsForResourcesOfTypeInDirectoryForLocalization(
	NSString extension,
	NSString subpath,
	NSString localizationName
Public Overridable Function PathsForResourcesOfTypeInDirectoryForLocalization ( _
	extension As NSString, _
	subpath As NSString, _
	localizationName As NSString _
) As NSArray
virtual NSArray^ PathsForResourcesOfTypeInDirectoryForLocalization(
	NSString^ extension, 
	NSString^ subpath, 
	NSString^ localizationName
extension (NSString)
The file extension of the files to retrieve.
subpath (NSString)
The name of the bundle subdirectory to search.
localizationName (NSString)
The name of the localization. This parameter should correspond to the name of one of the bundle's language-specific resource directories without the .lproj extension.
Return Value
An array containing the full pathnames for all bundle resources matching the specified criteria. This method returns an empty array of no matching resource files are found.
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)