CAM API
  • CAM API
v20.0.1
Search Results for

    Show / Hide Table of Contents

    Interface IListInteger

    Simple equivalent of List of integers

    Namespace: CAMAPI.Generic.List
    Assembly: CAMAPI.Generic.List.dll
    Syntax
    [Guid("1F0BD1E0-3CC8-4A55-951C-6D1D92BAD81A")]
    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    public interface IListInteger

    Methods

    Add(int)

    Declaration
    void Add(int element)
    Parameters
    Type Name Description
    int element

    Clear()

    Clear all elements

    Declaration
    void Clear()

    Contains(int)

    Declaration
    bool Contains(int element)
    Parameters
    Type Name Description
    int element
    Returns
    Type Description
    bool

    Count()

    Get number of elements

    Declaration
    int Count()
    Returns
    Type Description
    int

    Get(int)

    Declaration
    int Get(int index)
    Parameters
    Type Name Description
    int index
    Returns
    Type Description
    int

    Read(string, string)

    Clear existing elements and add new elements from one string with delimiter

    Declaration
    void Read(string elements, string delimiter)
    Parameters
    Type Name Description
    string elements
    string delimiter

    Remove(int)

    Declaration
    void Remove(int element)
    Parameters
    Type Name Description
    int element
    In this article