Share

Folder.RenameFolder Method

Renames the folder



Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280

Syntax

C#

public void RenameFolder(
	string newName
)

VB

Public Sub RenameFolder ( 
	newName As String
)

C++

public:
void RenameFolder(
	String^ newName
)

Parameters

newName  String
 

Exceptions

ExceptionCondition
ArgumentNullException Thrown when newName is null
ArgumentException Thrown when newName contains restricted characters Thrown when there's existing folder with the same name
InvalidOperationException Thrown when it is a root folder (it is not allowed to rename root folder)

See Also

Reference

Was this information helpful?