C# Класс Habanero.Faces.Base.ComboPair

Holds a key-value pair that provides a single item for a ComboBox. The key is the string value shown and the value holds the underlying object, such as a BusinessObject or specific Guid
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ComboPair ( string key, object value ) : System

The pair of values shown in the Combo Box (i.e. the Key, Value Pair) ComboPair

Equals ( object obj ) : bool

Indicates whether this ComboPair has exactly the same key and value as another

GetHashCode ( ) : int

Returns the hashcode of the key and value

ToString ( ) : string

Returns the key value being displayed

operator ( ) : System.Boolean

Indicates if two ComboPairs differ in either their keys or values

operator ( ) : bool

Indicates if two ComboPairs have the same key and value

Описание методов

ComboPair() публичный Метод

The pair of values shown in the Combo Box (i.e. the Key, Value Pair) ComboPair
public ComboPair ( string key, object value ) : System
key string
value object
Результат System

Equals() публичный Метод

Indicates whether this ComboPair has exactly the same key and value as another
public Equals ( object obj ) : bool
obj object The ComboPair to compare with
Результат bool

GetHashCode() публичный Метод

Returns the hashcode of the key and value
public GetHashCode ( ) : int
Результат int

ToString() публичный Метод

Returns the key value being displayed
public ToString ( ) : string
Результат string

operator() публичный статический Метод

Indicates if two ComboPairs differ in either their keys or values
public static operator ( ) : System.Boolean
Результат System.Boolean

operator() публичный статический Метод

Indicates if two ComboPairs have the same key and value
public static operator ( ) : bool
Результат bool