Manage file and resource paths
The ResourceURI
static C# class represents the path (URI) of a file or resource inside or outside the project.
ResourceURI
class represents the same type of data for the variables. For example, the Path
property of an Image
object.ResourceURI
object properties
Properties | Data type | Description |
---|---|---|
|
URIType |
The path type of the path contained:
|
|
string |
The relative path of a file in relation to the ProjectFiles folder. |
|
string |
The relative path of a file in relation to the ApplicationFiles folder. |
|
string |
The absolute path of a file external to the project. |
|
string |
The absolute path of a generic resource. |
URIType | ProjectRelativePath | ApplicationRelativePath | AbsoluteFilePath | URI |
---|---|---|---|---|
|
- |
- |
- |
URI (for example, a URL HTTP) |
|
Relative path to the ProjectFiles folder |
- |
- |
Absolute path |
|
- |
Relative path in relation to the ApplicationFiles folder |
- |
Absolute path |
|
- |
- |
Absolute path |
Absolute path |