C# Класс BExplorer.Shell.FilterItem

Represents items/filters in a FileFilterComboBox
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Caption string

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

Метод Описание
Contains ( string filter ) : bool

Splits the filter, trims the results then return all that contain that equal the filter

ParseFilterString ( string filterString, string existing, int &existingIndex ) : BExplorer.Shell.FilterItem[]

Takes a string (representing a list of filters like: "txt|All files|") and converts it into a FilterItem[]

ToString ( ) : string

Returns a string that represents the current object.

Приватные методы

Метод Описание
FilterItem ( string caption, string filter ) : System

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

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

Splits the filter, trims the results then return all that contain that equal the filter
public Contains ( string filter ) : bool
filter string The string you are looking for
Результат bool

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

Takes a string (representing a list of filters like: "txt|All files|") and converts it into a FilterItem[]
public static ParseFilterString ( string filterString, string existing, int &existingIndex ) : BExplorer.Shell.FilterItem[]
filterString string The string representing a list of filters like: "txt|All files|"
existing string Not Sure
existingIndex int Sets the index of the currently selected item in the
Результат BExplorer.Shell.FilterItem[]

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

Returns a string that represents the current object.
public ToString ( ) : string
Результат string

Описание свойств

Caption публичное свойство

public string Caption
Результат string