ProjectPaths.Add Method

Parent Object: ProjectPaths

Description

Method that adds a folder path after the target index and returns the newly created ProjectPath object.

Syntax

ProjectPaths.Add( Name As String, Path As String, [TargetIndex] As Long ) As ProjectPath

Parameters

Name Type Description
Name String
Path String
TargetIndex Long

This is an optional argument whose default value is 0.

Samples

Name Description
Query and create library paths The following sample demonstrates querying existing library paths associated with a project and adding a new library path.

Version

Introduced in version 2011