Click or drag to resize
VirtualPathHelperGetVirtualFileRelativePath Method
Returns virtual relative for required parameters

Namespace: CMS.IO
Assembly: CMS.IO (in CMS.IO.dll) Version: 8.2.23
Syntax
C#
public static string GetVirtualFileRelativePath(
	string codeName,
	string extension,
	string directory,
	string prefix,
	string versionGuid
)

Parameters

codeName
Type: SystemString
Object code name
extension
Type: SystemString
Required extension starting with dot character
directory
Type: SystemString
Starting directory
prefix
Type: SystemString
Optional codename prefix. Prefix is delimited by "=" directory.
versionGuid
Type: SystemString
Version GUID value

Return Value

Type: String
See Also