Click or drag to resize

ProjectCreateCodeUnit Method (String)

Create a new CodeUnit for the specified file name, and add it to the Project along with a corresponding ProjectFileItem.

Namespace:  Nova.CodeDOM
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public CodeUnit CreateCodeUnit(
	string fileName
)

Parameters

fileName
Type: SystemString

Return Value

Type: CodeUnit
The new CodeUnit object.
See Also