NSBundle.GetUrlForResource Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetUrlForResource(String, String) | |
GetUrlForResource(String, String, String) | |
GetUrlForResource(String, String, String, NSUrl) | |
GetUrlForResource(String, String, String, String) |
GetUrlForResource(String, String)
[Foundation.Export("URLForResource:withExtension:")]
public virtual Foundation.NSUrl GetUrlForResource (string name, string fileExtension);
abstract member GetUrlForResource : string * string -> Foundation.NSUrl
override this.GetUrlForResource : string * string -> Foundation.NSUrl
Parameters
- name
- String
- fileExtension
- String
Returns
- Attributes
Applies to
GetUrlForResource(String, String, String)
[Foundation.Export("URLForResource:withExtension:subdirectory:")]
public virtual Foundation.NSUrl GetUrlForResource (string name, string fileExtension, string subdirectory);
abstract member GetUrlForResource : string * string * string -> Foundation.NSUrl
override this.GetUrlForResource : string * string * string -> Foundation.NSUrl
Parameters
- name
- String
- fileExtension
- String
Returns
- Attributes
Applies to
GetUrlForResource(String, String, String, NSUrl)
[Foundation.Export("URLForResource:withExtension:subdirectory:inBundleWithURL:")]
public static Foundation.NSUrl GetUrlForResource (string name, string fileExtension, string subdirectory, Foundation.NSUrl bundleURL);
static member GetUrlForResource : string * string * string * Foundation.NSUrl -> Foundation.NSUrl
Parameters
- name
- String
- fileExtension
- String
- bundleURL
- NSUrl
Returns
- Attributes
Applies to
GetUrlForResource(String, String, String, String)
[Foundation.Export("URLForResource:withExtension:subdirectory:localization:")]
public virtual Foundation.NSUrl GetUrlForResource (string name, string fileExtension, string subdirectory, string localizationName);
abstract member GetUrlForResource : string * string * string * string -> Foundation.NSUrl
override this.GetUrlForResource : string * string * string * string -> Foundation.NSUrl
Parameters
- name
- String
- fileExtension
- String
Returns
- Attributes