Class PropEnumEntry
Represents an entry in a PropEnumeration.
Implements
Inherited Members
Namespace: ic4
Assembly: ic4dotnet.dll
Syntax
public class PropEnumEntry : Property, IDisposable
Remarks
Enumeration entries are derived from Property, since they also have most property aspects like a name, display name, tooltip, visibility and accessibility flags.
In addition to those common attributes, they have a constant value that can be queried using IntValue.
PropEnumEntry instances are created in multiple ways:
- By enumerating an enumeration property's entries using Entries
- By calling SelectedEntry to get the currently selected entry.
- By calling FindEntry(string) or FindEntry(long) to find the entry matching a given name or value.
Properties
IntValue
The integer value of the enumeration entry.
Declaration
public long IntValue { get; }
Property Value
Type | Description |
---|---|
long | The integer value of the enumeration entry. |
Exceptions
Type | Condition |
---|---|
IC4Exception | Check ErrorCode and ToString() for details. |