Click or drag to resize
MediaFileInfo Constructor (String, Int32)
Constructor - creates a new MediaFileInfo object specified by its file physical path.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 10.0.0
Syntax
C#
public MediaFileInfo(
	string path,
	int libraryId
)

Parameters

path
Type: SystemString
File physical path
libraryId
Type: SystemInt32
ID of the library the file will be assigned to
See Also