DotNetCall.UnmappedArgumentValues

Syntax

DotNetCall.UnmappedArgumentValues

Data Type

UnmappedArgumentValues

Purpose

Returns the UnmappedArgumentValues collection that contains a list of the arguments not used as inputs or outputs for the corresponding DotNetCall object.

Remarks

For DotNetModule objects, use this property instead of the Module.UnmappedArgumentValues property.

When you use the DotNetCall.LoadPrototypeFromSignature method to change a DotNetCall object prototype and pass the LoadPrototypeOption_MapExistingParameters option, TestStand attempts to map the current DotNetCall arguments to the new prototype by looking for matching argument names and data types and by matching argument positions and data types. If TestStand cannot assign an argument to the new prototype or if you do not pass the LoadPrototypeOption_MapExistingParameters option, the argument is added the current collection.

TestStand does not clear the collection when you load a new prototype. Use the UnmappedArgumentValues.Clear method to clear the collection after you call the DotNetCall.LoadPrototypeFromSignature method.

See Also

Module.UnmappedArgumentValues

UnmappedArgumentValue

UnmappedArgumentValues

UnmappedArgumentValues.Clear