Returns the name of the target file with the given target language.

Syntax:

GetTargetFileName(TargetLanguage As String) As String
Return: String
Parameters: TargetLanguage Target language to which the target file should belong. If this string is empty the target file name of the active target language will be used.
Example:
Dim ProjFile As ProjectFile
Dim Name As String

Set ProjFile = Application.ActiveProjectFile

Name = ProjFile.GetTargetFileName("en-us")

See also:

Class ProjectFile


Last Updated: 04/27/05