MonobjcMonobjc Documented Class Library
URLsForResourcesWithExtensionSubdirectoryInBundleWithURL Method (ext, subpath, bundleURL)
NamespacesMonobjc.FoundationNSBundleURLsForResourcesWithExtensionSubdirectoryInBundleWithURL(NSString, NSString, NSURL)

Returns an array containing the file URLs for all bundle resources having the specified filename extension, residing in the specified resource subdirectory, within the specified bundle.

Original signature is '+ (NSArray *)URLsForResourcesWithExtension:(NSString *)ext subdirectory:(NSString *)subpath inBundleWithURL:(NSURL *)bundleURL'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSArray URLsForResourcesWithExtensionSubdirectoryInBundleWithURL(
	NSString ext,
	NSString subpath,
	NSURL bundleURL
)
Public Shared Function URLsForResourcesWithExtensionSubdirectoryInBundleWithURL ( _
	ext As NSString, _
	subpath As NSString, _
	bundleURL As NSURL _
) As NSArray
public:
static NSArray^ URLsForResourcesWithExtensionSubdirectoryInBundleWithURL(
	NSString^ ext, 
	NSString^ subpath, 
	NSURL^ bundleURL
)
Parameters
ext (NSString)
The file extension of the files to retrieve.
subpath (NSString)
The name of the bundle subdirectory to search.
bundleURL (NSURL)
The file URL of the bundle to search.
Return Value
The file URL for the resource file or nil if the file could not be located.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)