Click or drag to resize

ProjectRenameCodeUnit Method

Rename the file name of the specified CodeUnit in the Project, also renaming the corresponding ProjectFileItem.

Namespace:  Nova.CodeDOM
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public void RenameCodeUnit(
	CodeUnit codeUnit,
	string newfileName
)

Parameters

codeUnit
Type: Nova.CodeDOMCodeUnit
The CodeUnit to be renamed.
newfileName
Type: SystemString
The new file name.
See Also