PslTransList.SetTargetPathRule

Assigns a target path rule to the source list.

Syntax

Expression.Leverage (Id as Long, bLink as Boolean, [optional] Parser as String) as Boolean

Expression Object of type PslTransList

Id ID of the target path rule as returned by PslProject.AddTargetPathRule or index if this is a rule from a parser add-in

bLink True, if the source list should be linked to the target path rule, i.e. the target path will be calculated automatically and cannot be changed manually.

Parser optional, if set, the target path rule is from a parser and ID is the index. Parser has the format "Addin:<Parser Identifier>", see table below.

Standard Add-In defined Target Path Rules

ParserID (Index)Rule NameDescription
AddIn:Java File Parser0Java Lang_RegionNaming conventions for Java file types *.class, *.java, *properties
1Multilingual Java archiveNaming conventions for Java *.jar files
"AddIn:Borland Delphi/C++ Builder"0Borland Language DLLsNaming conventions for Borland Language DLLs
1Borland .NET Language DLLsNaming conventions for Borland .NET Language DLLs
"AddIn:Microsoft .NET Parser"0.NET AssembliesNaming conventions for .NET Satellite Assemblies
1.NET ResourcesNaming conventions for .NET resx-files
2.NET Satellite AssembliesNaming conventions for translation of .NET Satellite Assemblies