Creates a new method.

Syntax

object.AddMethod([viPath], [folder])

Parameters

NameTypeDescription
viPathpathIf you specify viPath, LabVIEW uses an existing VI for the method. If you do not specify viPath, LabVIEW creates a new VI for the method.
folderProjectItem*Creates the method in the specified folder.

Return Value

ProjectItem*