RhinoCommon API
NamedPositionTableRename Method (String, String) |
Rename a Named Position.
Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll)
public bool Rename( string oldName, string name )
Public Function Rename ( oldName As String, name As String ) As Boolean
Parameters
- oldName
- Type: SystemString
Current name of the Named Position which you want to rename. - name
- Type: SystemString
New name for the Named Position.
Return Value
Type: BooleanTrue or False depending on whether the Rename was successful. For example, this method might return False if you attempt to remane the Named Position with the currently assigned name.