You are here: Symbol Reference
Symbol Reference
> Ofcas.Lk.Api.Client.Core Namespace > Classes > ProjectCenter Class > ProjectCenter Methods > ProjectCenter.CanRename Method
Close
Ofcas.Lk.Api.Client - Version 3.0
ProjectCenter.CanRename Method

Checks if the name of this project directory can be changed to the stated name. Renaming the root directory or the recyclebin is not possible.

Syntax
C#
public IOperationInfo CanRename(string directoryName);
Parameters
Description
string directoryName
The new name of this project directory. Cannot contain any invalid chars defined by Path.GetInvalidFileNameChars.

Returns an OperationStatus containing the information if this operation can be called.

Copyright © 2020. All rights reserved.