Class ResourceManager

    Definition

    Namespace:
    Tizen.Applications
    Assembly:
    Tizen.Applications.Common.dll

    The class for getting the resource path.

    public static class ResourceManager
    Inheritance
    object
    ResourceManager

    Methods

    View Source

    GetPath(Category, string)

    Converts resource ID to the path name.

    Declaration
    public static string GetPath(ResourceManager.Category category, string id)
    Parameters
    Type Name Description
    ResourceManager.Category category

    Category to search.

    string id

    ID to search.

    Returns
    Type Description
    string

    Found resource path.

    Exceptions
    Type Condition
    System.InvalidOperationException

    Thrown in case of failed conditions.

    View Source

    TryGetPath(Category, string)

    Converts resource ID to the path name.

    Declaration
    public static string TryGetPath(ResourceManager.Category category, string id)
    Parameters
    Type Name Description
    ResourceManager.Category category

    Category to search.

    string id

    ID to search.

    Returns
    Type Description
    string

    Found resource path or null when the resource doesn't exist.

    Exceptions
    Type Condition
    System.InvalidOperationException

    Thrown in case of failed conditions.

    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX