SoDBRenameGlobalField Method |
Renames the global field named oldName.
Namespace: OIV.InventorAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntaxpublic static void RenameGlobalField(
string oldName,
string newName
)
Public Shared Sub RenameGlobalField (
oldName As String,
newName As String
)
public:
static void RenameGlobalField(
String^ oldName,
String^ newName
)
static member RenameGlobalField :
oldName : string *
newName : string -> unit
Parameters
- oldName
- Type: SystemString
- newName
- Type: SystemString
RemarksRenaming a global field to an empty name ("") deletes it. If there is already a global field with the new name, that field will be deleted (the getGlobalField() method can be used to guard against this). See createGlobalField().
See Also