Interface ISimpleRowPropertyDefinition
Определение перечислимого свойства со строковыми значениями.
Inherited Members
Namespace: Ascon.Polynom.Api
Assembly: Ascon.Polynom.Api.dll
Syntax
public interface ISimpleRowPropertyDefinition : IRowPropertyDefinition, IPropertyDefinition, IDeleteableApiObject, ICodeableApiObject, IAbsoluteCodeableApiObject, IBaseGroupMember, IPropertyQualifier, IAbleToHaveId, IAbleToHaveChangeableName, IAbleToHaveName, IAbleToHaveDescription, IApiObject, IApiEntity, INotifyPropertyChanged
Properties
Items
Возвращает пункты перечисления.
Declaration
IApiReadOnlyCollection<ISimpleRowPropertyDefinitionItem> Items { get; }
Property Value
| Type | Description |
|---|---|
| IApiReadOnlyCollection<ISimpleRowPropertyDefinitionItem> |
Methods
AddItem(string)
Добавляет пункт перечисления.
Declaration
ISimpleRowPropertyDefinitionItem AddItem(string item)
Parameters
| Type | Name | Description |
|---|---|---|
| string | item | Пункт перечисления. |
Returns
| Type | Description |
|---|---|
| ISimpleRowPropertyDefinitionItem | Добавленный пункт перечисления. |
Contains(string)
Определяет, содержат ли пункты перечисления такой пункт.
Declaration
bool Contains(string item)
Parameters
| Type | Name | Description |
|---|---|---|
| string | item | Пункт перечисления. |
Returns
| Type | Description |
|---|---|
| bool |
|
RemoveItem(string)
Убирает пункт перечисления.
Declaration
bool RemoveItem(string item)
Parameters
| Type | Name | Description |
|---|---|---|
| string | item | Пункт перечисления. |
Returns
| Type | Description |
|---|---|
| bool |
|