MonobjcMonobjc Documented Class Library
URLsForResourcesWithExtensionSubdirectory Method (extension, subpath)
NamespacesMonobjc.FoundationNSBundleURLsForResourcesWithExtensionSubdirectory(NSString, NSString)

Returns the file URL for the resource identified by the specified name and file extension and located in the specified bundle subdirectory.

Original signature is '- (NSArray *)URLsForResourcesWithExtension:(NSString *)extension subdirectory:(NSString *)subpath'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSArray URLsForResourcesWithExtensionSubdirectory(
	NSString extension,
	NSString subpath
Public Overridable Function URLsForResourcesWithExtensionSubdirectory ( _
	extension As NSString, _
	subpath As NSString _
) As NSArray
virtual NSArray^ URLsForResourcesWithExtensionSubdirectory(
	NSString^ extension, 
	NSString^ subpath
extension (NSString)
If extension is an empty string or nil, the extension is assumed not to exist and the file URL is the first file encountered that exactly matches name.
subpath (NSString)
The name of the bundle subdirectory.
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)