MediaFileInfoProviderGetMediaFiles Method (String, String, Int32, String) |
Returns dataset of files matching given criteria from database.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.2.23
Syntax public static ObjectQuery<MediaFileInfo> GetMediaFiles(
string where,
string orderBy = null,
int topN = -1,
string columns = null
)
Parameters
- where
- Type: SystemString
WHERE condition - orderBy (Optional)
- Type: SystemString
ORDER BY parameter - topN (Optional)
- Type: SystemInt32
TOP N parameter - columns (Optional)
- Type: SystemString
Selected columns
Return Value
Type:
ObjectQueryMediaFileInfoSee Also