Interface ICamApiAttributeIntegerEnumValues
The list of available values if the attribute has enum restriction.
Assembly: CAMAPI.CustomAttributes.dll
Syntax
[Guid("A375E22A-F935-4E95-A962-3DCA821DD760")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ICamApiAttributeIntegerEnumValues
Properties
Extendable
Can user add its own values to the enum list or not.
Declaration
bool Extendable { get; set; }
Property Value
Value[int]
Declaration
int Value[int Index] { get; set; }
Parameters
Type |
Name |
Description |
int |
Index |
|
Property Value
ValueCaption[int]
Declaration
string ValueCaption[int Index] { get; set; }
Parameters
Type |
Name |
Description |
int |
Index |
|
Property Value
ValuesCount
Count of enum values in the list.
Declaration
Property Value
Methods
AddValue(int, string)
Declaration
int AddValue(int Value, string Caption)
Parameters
Type |
Name |
Description |
int |
Value |
|
string |
Caption |
|
Returns
RemoveValue(int)
Declaration
bool RemoveValue(int ValueIndex)
Parameters
Type |
Name |
Description |
int |
ValueIndex |
|
Returns