C# Класс WebApplications.Utilities.Enumerations.TriState

Показать файл Открыть проект

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

Свойство Тип Описание
Equal TriState
False TriState
Negative TriState
No TriState
Positive TriState
True TriState
Undefined TriState
Unknown TriState
Yes TriState

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

Метод Описание
ToString ( ) : string

Returns a string that represents this instance. Uses the default format of Style.YesUnknownNo.

ToString ( string format, IFormatProvider formatProvider ) : string

Formats the value of the current instance using the specified format.

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

Метод Описание
ToString ( Style style ) : string
TriState ( byte state ) : System

Used internally to create the different states.

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

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

Returns a string that represents this instance. Uses the default format of Style.YesUnknownNo.
public ToString ( ) : string
Результат string

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

Formats the value of the current instance using the specified format.
/// The format must be one of the following: /// /// G /// Y /// T /// N /// ///
public ToString ( string format, IFormatProvider formatProvider ) : string
format string /// The format to use. /// /// G - Yes/Unknown/No. If the format string is null or empty then G is used. /// Y - Yes/Unknown/No. /// T - True/Undefined/False. /// N - Positive/Equal/Negative. /// /// If the format is not one of the above it will try and parse it to a . ///
formatProvider IFormatProvider /// The provider to use to format the value. Specify to obtain the numeric format information /// from the current locale setting of the operating system. ///
Результат string

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

Equal публичное статическое свойство

State: Equal.
public static TriState,WebApplications.Utilities.Enumerations Equal
Результат TriState

False публичное статическое свойство

State: False.
public static TriState,WebApplications.Utilities.Enumerations False
Результат TriState

Negative публичное статическое свойство

State: Negative.
public static TriState,WebApplications.Utilities.Enumerations Negative
Результат TriState

No публичное статическое свойство

State: No.
public static TriState,WebApplications.Utilities.Enumerations No
Результат TriState

Positive публичное статическое свойство

State: Positive.
public static TriState,WebApplications.Utilities.Enumerations Positive
Результат TriState

True публичное статическое свойство

State: True.
public static TriState,WebApplications.Utilities.Enumerations True
Результат TriState

Undefined публичное статическое свойство

State: Undefined.
public static TriState,WebApplications.Utilities.Enumerations Undefined
Результат TriState

Unknown публичное статическое свойство

State: Unknown.
public static TriState,WebApplications.Utilities.Enumerations Unknown
Результат TriState

Yes публичное статическое свойство

State: Yes.
public static TriState,WebApplications.Utilities.Enumerations Yes
Результат TriState