CommonCModule.LoadPrototypeFromCodeTemplate

Syntax

CommonCModule.LoadPrototypeFromCodeTemplate

Return Value

Boolean

Returns True if this method modifies the step.

Purpose

Updates the parameters of the module to match the prototype and parameter values of the code template the CommonCModule.CodeTemplateName property specifies.

Remarks

This method does nothing if the CommonCModule.CodeTemplateName property is empty.

For adapters that use Microsoft Visual Studio, calling this method can result in prompts to the user if any of the following conditions exist:

  • Multiple versions of Visual Studio exist on the computer and you select the Always Prompt for Version option from the Version of Visual Studio to Use for Create and Edit Code ring control in the Adapter Configuration dialog box.
  • Multiple versions of Visual Studio exist on the computer and you select the Use the Version that Matches the Project File option from the Version of Visual Studio to Use for Create and Edit Code ring control in the Adapter Configuration dialog box, and TestStand cannot match the version of the file.

See Also

Adapter Configuration dialog box

CommonCModule.CodeTemplateName

CVIModule.Parameters

DllModule.Parameters

Module.LoadPrototype