Creates and returns a file URL for the resource with the specified name and extension in the specified bundle.
Original signature is '+ (NSURL *)URLForResource:(NSString *)name withExtension:(NSString *)ext subdirectory:(NSString *)subpath inBundleWithURL:(NSURL *)bundleURL'
Available in Mac OS X v10.6 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static NSURL URLForResourceWithExtensionSubdirectoryInBundleWithURL( NSString name, NSString ext, NSString subpath, NSURL bundleURL )
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)