AttachmentInfoProviderIsUniqueTemporaryAttachmentNameInternal Method |
Finds out whether given attachment name is unique
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax protected virtual bool IsUniqueTemporaryAttachmentNameInternal(
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:
BooleanTrue if attachment name is unique
See Also