Click or drag to resize
AttachmentInfoProviderIsUniqueTemporaryAttachmentName Method
Finds out whether the given temporary attachment file name is unique.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 10.0.0
Syntax
C#
public static bool IsUniqueTemporaryAttachmentName(
	Guid formGuid,
	string fileName,
	string extension,
	int currentAttachmentId
)

Parameters

formGuid
Type: SystemGuid
GUID of the form
fileName
Type: SystemString
Name of file
extension
Type: SystemString
Extension of file
currentAttachmentId
Type: SystemInt32
Current attachment ID

Return Value

Type: Boolean
True if attachment name is unique
See Also