Click or drag to resize

NamedPositionTableRename Method (String, String)

Rename a Named Position.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.0
public bool Rename(
	string oldName,
	string name


Type: SystemString
Current name of the Named Position which you want to rename.
Type: SystemString
New name for the Named Position.

Return Value

Type: Boolean
True or False depending on whether the Rename was successful. For example, this method might return False if you attempt to rename the Named Position with the currently assigned name.
See Also