MediaFileInfoProviderGetMediaFilePath Method (Int32, String, String) |
Returns physical path to the media file.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 11.0.0
Syntax public static string GetMediaFilePath(
int fileId,
string siteName,
string webFullPath
)
Parameters
- fileId
- Type: SystemInt32
Media file ID - siteName
- Type: SystemString
Site name - webFullPath
- Type: SystemString
Physical path to the root of the web project (e.g. c:\WebProject\), if it is not specified web application physical path is used
Return Value
Type:
StringSee Also