public static TusRetrievedVariable[] GetTusVariables() { int num = PrxTUSGetVariableCount(); TusRetrievedVariable[] array = new TusRetrievedVariable[num]; for (int i = 0; i < num; i++) { array[i] = default(TusRetrievedVariable); PrxTUSGetVariable(i, out array[i]); } return(array); }
private static extern long PrxTUSGetVariable(int index, out TusRetrievedVariable variable);