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.

C#
Copy
public class PropertyKey : Disposable, IDisposable
Inheritance
System.Object
PropertyKey
Implements
System.IDisposable

Constructors

View Source

PropertyKey(Int32)

The constructor.

Declaration
C#
Copy
public PropertyKey(int key)
Parameters
Type Name Description
System.Int32 key

The index key.

API Level: 3
View Source

PropertyKey(String)

The constructor.

Declaration
C#
Copy
public PropertyKey(string key)
Parameters
Type Name Description
System.String key

The string key.

API Level: 3

Fields

View Source

swigCMemOwn

swigCMemOwn

Declaration
C#
Copy
protected bool swigCMemOwn
Field Value
Type Description
System.Boolean
API Level: 3

Properties

View Source

IndexKey

The index key.

Declaration
C#
Copy
public int IndexKey { get; set; }
Property Value
Type Description
System.Int32
API Level: 3
View Source

StringKey

The string key.

Declaration
C#
Copy
public string StringKey { get; set; }
Property Value
Type Description
System.String
API Level: 3
View Source

Type

The type of the key.

Declaration
C#
Copy
public PropertyKey.KeyType Type { get; set; }
Property Value
Type Description
PropertyKey.KeyType
API Level: 3

Methods

View Source

Dispose(DisposeTypes)

Dispose.

Declaration
C#
Copy
protected override void Dispose(DisposeTypes type)
Parameters
Type Name Description
DisposeTypes type
Overrides
API Level: 3
View Source

EqualTo(Int32)

Compares if rhs is equal to.

Declaration
C#
Copy
public bool EqualTo(int rhs)
Parameters
Type Name Description
System.Int32 rhs

The index key to compare against.

Returns
Type Description
System.Boolean

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

API Level: 3
View Source

EqualTo(String)

Compares if rhs is equal to.

Declaration
C#
Copy
public bool EqualTo(string rhs)
Parameters
Type Name Description
System.String rhs

A string key to compare against.

Returns
Type Description
System.Boolean

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

API Level: 3
View Source

EqualTo(PropertyKey)

Compares if rhs is equal to

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

A key to compare against

Returns
Type Description
System.Boolean

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

API Level: 3
View Source

NotEqualTo(Int32)

Compares if rhs is not equal to.

Declaration
C#
Copy
public bool NotEqualTo(int rhs)
Parameters
Type Name Description
System.Int32 rhs

The index key to compare against.

Returns
Type Description
System.Boolean

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

API Level: 3
View Source

NotEqualTo(String)

Compares if rhs is not equal to.

Declaration
C#
Copy
public bool NotEqualTo(string rhs)
Parameters
Type Name Description
System.String rhs

The index key to compare against.

Returns
Type Description
System.Boolean

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

API Level: 3
View Source

NotEqualTo(PropertyKey)

Compares if rhs is not equal to.

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

A key to compare against.

Returns
Type Description
System.Boolean

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

API Level: 3

Implements

System.IDisposable