Locations.AddAPILocation

Syntax

Locations.AddAPILocation( baseObj, apiLocation, objFile = NULL)

Return Value

Location

Purpose

Use this method to add a new file location from an API call to the collection.

Parameters

baseObj As PropertyObject

[In] Specifies the base object to use with the apiLocation parameter as the location to add.

apiLocation As APILocations

[In] Pass the APILocations enumeration to use as the location to add.

objFile As PropertyObjectFile

[In] Specifies the file associated with the base object. Use this parameter only if the baseObj parameter is a type definition. TestStand ignores this parameter if the baseObj parameter is not a type definition.

This parameter has a default value of NULL .

See Also

Locations.AddExecutionLocation

Locations.AddExecutionLocationByObject

Locations.AddFileLocation

Locations.AddFileLocationByObject

Locations.AddTypeLocation

Locations.AddTypeLocationByObject