Class ResourceManager
Definition
- Namespace:
- Tizen.Applications
- Assembly:
- Tizen.Applications.Common.dll
- API Level:
- 3
The class for getting the resource path.
C#Copypublic static class ResourceManager
- Inheritance
-
System.ObjectResourceManager
Methods
Declaration
C#Copypublic static string GetPath(ResourceManager.Category category, string id)
Parameters
Type | Name | Description |
---|---|---|
ResourceManager.Category | category | Category to search. |
System.String | id | ID to search. |
Returns
Type | Description |
---|---|
System.String | Found resource path. |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | Thrown in case of failed conditions. |
API Level: 3
Declaration
C#Copypublic static string TryGetPath(ResourceManager.Category category, string id)
Parameters
Type | Name | Description |
---|---|---|
ResourceManager.Category | category | Category to search. |
System.String | id | ID to search. |
Returns
Type | Description |
---|---|
System.String | Found resource path or null when the resource doesn't exist. |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | Thrown in case of failed conditions. |