MediaFileURLProviderGetMediaFileUrlInternal Method (MediaFileInfo, String, String, String) |
Returns relative URL path to the media file, user permissions are not checked.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 12.0.0
Syntax protected virtual string GetMediaFileUrlInternal(
MediaFileInfo fileInfo,
string siteName,
string libraryFolder,
string filePath
)
Parameters
- fileInfo
- Type: CMS.MediaLibraryMediaFileInfo
Media file info object - siteName
- Type: SystemString
Site name - libraryFolder
- Type: SystemString
Library folder name - filePath
- Type: SystemString
File path within the library folder
Return Value
Type:
StringSee Also