NShape Reference
ModelController.RenameModelObject Method

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape.Controllers > ModelController Class >

NShape Reference
ModelController.RenameModelObject Method

Previous pageReturn to chapter overviewNext page

Renames the selected model object.

Syntax

public void RenameModelObject(IModelObject modelObject, string newName)

Description

Parameters

Name

Description

modelObject

The model object to be renamed.

newName

New name of model object in current repository culture.

Exceptions

Name

Description

InvalidOperationException

No or more than one model objects are selected.