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

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

Parameters

attachmentGuid
Type: SystemGuid
Attachment GUID
nodeAlias
Type: SystemString
Node alias name
extension
Type: SystemString
Extension
versionHistoryId
Type: SystemInt32
Version history ID
prefix
Type: SystemString
URL prefix, if null, "getdoc" is used, the prefix must be supported by the URL rewriting engine

Return Value

Type: String
See Also