Click or drag to resize
AttachmentURLProviderGetAttachmentUrlInternal Method (Guid, String, Int32, String, String)
Returns attachment URL.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
protected virtual string GetAttachmentUrlInternal(
	Guid attachmentGuid,
	string fileName,
	int versionHistoryId,
	string prefix,
	string variant
)

Parameters

attachmentGuid
Type: SystemGuid
Attachment GUID.
fileName
Type: SystemString
Attachment file name.
versionHistoryId
Type: SystemInt32
ID of the document version for which the attachment version should be displayed.
prefix
Type: SystemString
URL prefix, if null, "getattachment" is used, the prefix must be supported by the URL rewriting engine.
variant
Type: SystemString
Identifier of the attachment variant.

Return Value

Type: String
See Also