CAM API
  • CAM API
v20.0.1
Search Results for

    Show / Hide Table of Contents

    Interface ICamApiAttributeIntegerEnumValues

    The list of available values if the attribute has enum restriction.

    Namespace: CAMAPI.CustomAttributes
    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
    Type Description
    bool

    Value[int]

    Declaration
    int Value[int Index] { get; set; }
    Parameters
    Type Name Description
    int Index
    Property Value
    Type Description
    int

    ValueCaption[int]

    Declaration
    string ValueCaption[int Index] { get; set; }
    Parameters
    Type Name Description
    int Index
    Property Value
    Type Description
    string

    ValuesCount

    Count of enum values in the list.

    Declaration
    int ValuesCount { get; }
    Property Value
    Type Description
    int

    Methods

    AddValue(int, string)

    Declaration
    int AddValue(int Value, string Caption)
    Parameters
    Type Name Description
    int Value
    string Caption
    Returns
    Type Description
    int

    RemoveValue(int)

    Declaration
    bool RemoveValue(int ValueIndex)
    Parameters
    Type Name Description
    int ValueIndex
    Returns
    Type Description
    bool
    In this article