C# Класс Nexus.UI.FlagEnumUITypeEditor.FlagCheckedListBox.FlagCheckedListBoxItem

A list item that represents a flag enum item.
Показать файл Открыть проект

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

Метод Описание
FlagCheckedListBoxItem ( Int32 p_intValue, string p_strDisplayName ) : System

A simple constructor that initializes the object with the given values.

IsMemberFlag ( FlagCheckedListBoxItem p_lbiComposite ) : bool

Determines if the represented value's flag is set in the composite flag represented by the given item.

ToString ( ) : string

Returns the strign representation of the item.

This returns the display name of the item.

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

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

A simple constructor that initializes the object with the given values.
public FlagCheckedListBoxItem ( Int32 p_intValue, string p_strDisplayName ) : System
p_intValue System.Int32 The value that item is representing.
p_strDisplayName string The display name of the item.
Результат System

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

Determines if the represented value's flag is set in the composite flag represented by the given item.
public IsMemberFlag ( FlagCheckedListBoxItem p_lbiComposite ) : bool
p_lbiComposite FlagCheckedListBoxItem The item representing the composite flag for which /// it is to be determined if it includes this item's represented value.
Результат bool

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

Returns the strign representation of the item.
This returns the display name of the item.
public ToString ( ) : string
Результат string