NAnt SDK Documentation - v0.92 |

# ClTask.GetObjOutputFile Method

Determines the file name of the OBJ file for the specified source file.

[Visual Basic]
Public Shared Function GetObjOutputFile( _
ByVal srcFile As String, _
ByVal objectPath As String _
) As String
[C#]
public static string GetObjOutputFile(
string srcFile,
string objectPath
);

#### Parameters

srcFile
  The source file for which the OBJ file should be determined.
objectPath
  The path of the object file.

#### Return Value

The file name of the OBJ file for the specified source file.

#### See Also

ClTask Class | NAnt.VisualCpp.Tasks Namespace