MediaLibraryHelperGetMediaSource Method (Guid, String) |
Returns MediaSource for given media file.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 9.0.0
Syntax public static MediaSource GetMediaSource(
Guid fileGuid,
string siteName
)
Parameters
- fileGuid
- Type: SystemGuid
Media file GUID - siteName
- Type: SystemString
Site name
Return Value
Type:
MediaSourceSee Also