XLL Wrapper
Argument element
See Also  Send Feedback

An Argument element is an optional element which controls the wrapping of a single named argument.

Attributes

Attribute Required Description Example(s)
Name Required The name of the argument as it appears in the Name attribute of the XlArgument element in the model file. X
IsDate Optional One of: 0, 1. If 1, then the argument will be treated as a date (or an array of dates). In the wrapper class, the argument's type will be DateTime (or DateTime[] or DateTime[,] for an array). If 0 or omitted, then the argument's type will be treated normally.

0

1

WrappedName Optional The name of the function as it will appear in the wrapper method. nItemCount
Type Optional

The argument type, as it will appear in the C# wrapper function.

Only the following basic types are supported: bool, DateTime, double, int, string, object. The type may be a scalar (e.g. int), a vector (e.g. int[]) or a matrix (e.g. int[,]).

An argument that accepts a vector or matrix of mixed types should use object[] or object[,] respectively. An argument that accepts a variety of different input types should use object.

string

double[]

int[,]

See Also

Other Resources

Information files
Function element
© 1997-2017 Planatech Solutions Ltd. All rights reserved.

Send comments on this topic to Planatech Support