Returns whether the node is a translation unit.

Syntax:

IsTransUnit( NodeNumber As Long ) As Boolean
Return: Boolean
Parameters: NodeNumber Node number to be checked.

Example:
Dim ProjFile As ProjectFile
Dim TU As TransUnit

Set ProjFile = Application.ActiveProjectFile

If (ProjFile.IsTransUnit(117)) Then
    Set TU = ProjFile.GetTransUnit(117)
End If

See also:

Class ProjectFile


Last Updated: 03/11/04