Click or drag to resize
MetaFileInfoProviderDeleteFiles Method (Int32, String, String)
Deletes all files associated with the given object.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax
C#
public static bool DeleteFiles(
	int objectId,
	string objectType,
	string category = null
)

Parameters

objectId
Type: SystemInt32
Object ID
objectType
Type: SystemString
Object type
category (Optional)
Type: SystemString
Meta files category

Return Value

Type: Boolean
See Also