Class PropertyKey
Definition
- Namespace:
- Tizen.NUI
- Assembly:
- Tizen.NUI.dll
- API Level:
- 3
A key type which can be either a std::string or a Property::Index.
public class PropertyKey : Disposable, IDisposable
- Inheritance
- Implements
Constructors
View SourcePropertyKey(Int32)
The constructor.
Declaration
public PropertyKey(int key)
Parameters
Type | Name | Description |
---|---|---|
Int32 | key | The index key. |
API Level: 3
View SourcePropertyKey(String)
The constructor.
Declaration
public PropertyKey(string key)
Parameters
Type | Name | Description |
---|---|---|
String | key | The string key. |
API Level: 3
Properties
View SourceIndexKey
The index key.
Declaration
public int IndexKey { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: 3
View SourceStringKey
The string key.
Declaration
public string StringKey { get; set; }
Property Value
Type | Description |
---|---|
String |
API Level: 3
View SourceType
The type of the key.
Declaration
public PropertyKey.KeyType Type { get; set; }
Property Value
Type | Description |
---|---|
PropertyKey.KeyType |
API Level: 3
Methods
View SourceEqualTo(Int32)
Compares if rhs is equal to.
Declaration
public bool EqualTo(int rhs)
Parameters
Type | Name | Description |
---|---|---|
Int32 | rhs | The index key to compare against. |
Returns
Type | Description |
---|---|
Boolean | Returns true if the key compares, or false if it isn't equal or of the wrong type. |
API Level: 3
View SourceEqualTo(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 |
---|---|
Boolean | Returns true if the key compares, or false if it isn't equal or of the wrong type. |
API Level: 3
View SourceEqualTo(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 |
---|---|
Boolean | Returns true if the keys are of the same type and have the same value. |
API Level: 3
View SourceNotEqualTo(Int32)
Compares if rhs is not equal to.
Declaration
public bool NotEqualTo(int rhs)
Parameters
Type | Name | Description |
---|---|---|
Int32 | rhs | The index key to compare against. |
Returns
Type | Description |
---|---|
Boolean | Returns true if the key is not equal, or not the index key. |
API Level: 3
View SourceNotEqualTo(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 |
---|---|
Boolean | Returns true if the key is not equal or not a string key. |
API Level: 3
View SourceNotEqualTo(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 |
---|---|
Boolean | Returns true if the keys are not of the same type or are not equal. |