ReplaceFile Method (ItemFile)Save PDFSave selected topicSave selected topic and subtopicsSave all topicsShareShare to emailCopy topic URLLast UpdatedNov 06, 20251 minute readOperations and ExecutionManufacturing Execution System 2023 R2 The ReplaceFile() method opens a dialog to allow the user to select a file to replace the specified file.Syntax Visual BasicC# 'Declaration Public Sub ReplaceFile( _ ByVal filePath As String, _ ByVal modID As String _ ) public void ReplaceFile( string filePath, string modID ) ParametersfilePath Required. Holds the file to be replaced.modID Required. Holds a mod ID value to avoid data contention. If it is specified, the passed value must match the mod ID value in the database for the update to succeed. See AlsoReferenceItemFile ClassItemFile Members In This Topic
The ReplaceFile() method opens a dialog to allow the user to select a file to replace the specified file.Syntax Visual BasicC# 'Declaration Public Sub ReplaceFile( _ ByVal filePath As String, _ ByVal modID As String _ ) public void ReplaceFile( string filePath, string modID ) ParametersfilePath Required. Holds the file to be replaced.modID Required. Holds a mod ID value to avoid data contention. If it is specified, the passed value must match the mod ID value in the database for the update to succeed. See AlsoReferenceItemFile ClassItemFile Members
The ReplaceFile() method opens a dialog to allow the user to select a file to replace the specified file.Syntax Visual BasicC# 'Declaration Public Sub ReplaceFile( _ ByVal filePath As String, _ ByVal modID As String _ ) public void ReplaceFile( string filePath, string modID ) ParametersfilePath Required. Holds the file to be replaced.modID Required. Holds a mod ID value to avoid data contention. If it is specified, the passed value must match the mod ID value in the database for the update to succeed. See AlsoReferenceItemFile ClassItemFile Members
The ReplaceFile() method opens a dialog to allow the user to select a file to replace the specified file.Syntax Visual BasicC# 'Declaration Public Sub ReplaceFile( _ ByVal filePath As String, _ ByVal modID As String _ ) public void ReplaceFile( string filePath, string modID ) ParametersfilePath Required. Holds the file to be replaced.modID Required. Holds a mod ID value to avoid data contention. If it is specified, the passed value must match the mod ID value in the database for the update to succeed. See AlsoReferenceItemFile ClassItemFile Members