CAM API
  • CAM API
v20.0.1
Search Results for

    Show / Hide Table of Contents

    Interface ICamApiMacroCommandFieldList

    Read-only list of field descriptors a recorded command expects (for CreateCommandData/Set*). Each entry is a (Key, FieldType, Required) triple, accessed by index. An empty list (GetCount = 0) means the command type / discriminator has no documented schema yet.

    Namespace: CAMAPI.Macros
    Assembly: CAMAPI.Macros.dll
    Syntax
    [Guid("9F3A1D62-4C7E-4F0A-9B8D-1C2E3A4B5C6D")]
    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    public interface ICamApiMacroCommandFieldList

    Methods

    GetCount()

    Number of fields in the list.

    Declaration
    int GetCount()
    Returns
    Type Description
    int

    GetFieldType(int)

    Declaration
    TMacroCommandParamType GetFieldType(int Index)
    Parameters
    Type Name Description
    int Index
    Returns
    Type Description
    TMacroCommandParamType

    GetKey(int)

    Declaration
    string GetKey(int Index)
    Parameters
    Type Name Description
    int Index
    Returns
    Type Description
    string

    GetRequired(int)

    Declaration
    bool GetRequired(int Index)
    Parameters
    Type Name Description
    int Index
    Returns
    Type Description
    bool
    In this article