DeleteFile Method (Folder)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 DeleteFile() method removes the specified file from the item. It does not delete the file from the file system.Syntax Visual BasicC# 'Declaration Public Sub DeleteFile( _ ByVal filePath As String, _ ByVal modID As String _ ) public void DeleteFile( string filePath, string modID ) ParametersfilePath Required. Holds the file path of the file to be removed from the item.modID Required. Holds a mod ID value to avoid data contention. If it is specified, the passed value must match the modId value in the database for the update to succeed. See AlsoReferenceFolder ClassFolder Members In This Topic
The DeleteFile() method removes the specified file from the item. It does not delete the file from the file system.Syntax Visual BasicC# 'Declaration Public Sub DeleteFile( _ ByVal filePath As String, _ ByVal modID As String _ ) public void DeleteFile( string filePath, string modID ) ParametersfilePath Required. Holds the file path of the file to be removed from the item.modID Required. Holds a mod ID value to avoid data contention. If it is specified, the passed value must match the modId value in the database for the update to succeed. See AlsoReferenceFolder ClassFolder Members
The DeleteFile() method removes the specified file from the item. It does not delete the file from the file system.Syntax Visual BasicC# 'Declaration Public Sub DeleteFile( _ ByVal filePath As String, _ ByVal modID As String _ ) public void DeleteFile( string filePath, string modID ) ParametersfilePath Required. Holds the file path of the file to be removed from the item.modID Required. Holds a mod ID value to avoid data contention. If it is specified, the passed value must match the modId value in the database for the update to succeed. See AlsoReferenceFolder ClassFolder Members
The DeleteFile() method removes the specified file from the item. It does not delete the file from the file system.Syntax Visual BasicC# 'Declaration Public Sub DeleteFile( _ ByVal filePath As String, _ ByVal modID As String _ ) public void DeleteFile( string filePath, string modID ) ParametersfilePath Required. Holds the file path of the file to be removed from the item.modID Required. Holds a mod ID value to avoid data contention. If it is specified, the passed value must match the modId value in the database for the update to succeed. See AlsoReferenceFolder ClassFolder Members