AttachmentURLProviderGetAttachmentUrlInternal Method (String, String, String, String) |
Returns friendly attachment URL.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 11.0.0
Syntax protected virtual string GetAttachmentUrlInternal(
string safeFileName,
string aliasPath,
string extension,
string variant
)
Parameters
- safeFileName
- Type: SystemString
Attachment safe file name. Use GetSafeFileName(String, String) method to get file name in format suitable for URL. - aliasPath
- Type: SystemString
Node alias path. - extension
- Type: SystemString
File extension. If not provided, default friendly extension is used from global settings. - variant
- Type: SystemString
Identifier of the attachment variant.
Return Value
Type:
StringSee Also