Click or drag to resize
AttachmentURLProviderGetAttachmentUrlInternal Method (String, String, String, String)

Note: This API is now obsolete.

Returns friendly attachment URL.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("This format of attachment URL is obsolete and will be removed in the next version.")]
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.
variant
Type: SystemString
Identifier of the attachment variant.

Return Value

Type: String
See Also