Class PropertyKey

    Definition

    Namespace:
    Tizen.NUI
    Assembly:
    Tizen.NUI.dll

    A key type which can be either a std::string or a Property::Index.

    public class PropertyKey : Disposable, IDisposable
    Inheritance
    object
    Disposable
    PropertyKey
    Implements
    System.IDisposable

    Constructors

    View Source

    PropertyKey(int)

    The constructor.

    Declaration
    public PropertyKey(int key)
    Parameters
    Type Name Description
    int key

    The index key.

    View Source

    PropertyKey(string)

    The constructor.

    Declaration
    public PropertyKey(string key)
    Parameters
    Type Name Description
    string key

    The string key.

    Properties

    View Source

    IndexKey

    Gets the index key. The integer value representing the index key.

    Declaration
    public int IndexKey { get; set; }
    Property Value
    Type Description
    int
    View Source

    StringKey

    Returns the string key.

    Declaration
    public string StringKey { get; set; }
    Property Value
    Type Description
    string
    View Source

    Type

    The type of the key. This property returns the type of the key, which can be PropertyMap, PropertyArray, or PropertyValue.

    Declaration
    public PropertyKey.KeyType Type { get; set; }
    Property Value
    Type Description
    PropertyKey.KeyType

    Methods

    View Source

    EqualTo(int)

    Compares if rhs is equal to.

    Declaration
    public bool EqualTo(int rhs)
    Parameters
    Type Name Description
    int rhs

    The index key to compare against.

    Returns
    Type Description
    bool

    Returns true if the key compares, or false if it isn't equal or of the wrong type.

    View Source

    EqualTo(string)

    Compares if rhs is equal to.

    Declaration
    public bool EqualTo(string rhs)
    Parameters
    Type Name Description
    string rhs

    A string key to compare against.

    Returns
    Type Description
    bool

    Returns true if the key compares, or false if it isn't equal or of the wrong type.

    View Source

    EqualTo(PropertyKey)

    Compares if rhs is equal to

    Declaration
    public bool EqualTo(PropertyKey rhs)
    Parameters
    Type Name Description
    PropertyKey rhs

    A key to compare against

    Returns
    Type Description
    bool

    Returns true if the keys are of the same type and have the same value.

    View Source

    NotEqualTo(int)

    Compares if rhs is not equal to.

    Declaration
    public bool NotEqualTo(int rhs)
    Parameters
    Type Name Description
    int rhs

    The index key to compare against.

    Returns
    Type Description
    bool

    Returns true if the key is not equal, or not the index key.

    View Source

    NotEqualTo(string)

    Compares if rhs is not equal to.

    Declaration
    public bool NotEqualTo(string rhs)
    Parameters
    Type Name Description
    string rhs

    The index key to compare against.

    Returns
    Type Description
    bool

    Returns true if the key is not equal or not a string key.

    View Source

    NotEqualTo(PropertyKey)

    Compares if rhs is not equal to.

    Declaration
    public bool NotEqualTo(PropertyKey rhs)
    Parameters
    Type Name Description
    PropertyKey rhs

    A key to compare against.

    Returns
    Type Description
    bool

    Returns true if the keys are not of the same type or are not equal.

    Implements

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