SoDBRenameGlobalField Method |
Renames the global field named oldName.
Namespace: OIV.InventorAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax public 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
Remarks Renaming 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 OIV.Inventor.SoDB.GetGlobalField(System.String) method can be used to guard against this). See OIV.Inventor.SoDB.CreateGlobalField(System.String, System.Type).
See Also