Emgu CV Library Documentation
cvLoad Method (fileName, memstorage, name, realName)
NamespacesEmgu.CVCvInvokecvLoad(String, IntPtr, String, IntPtr)

www.emgu.com/wiki
Loads object from file. It provides a simple interface to cvRead. After object is loaded, the file storage is closed and all the temporary buffers are deleted. Thus, to load a dynamic structure, such as sequence, contour or graph, one should pass a valid destination memory storage to the function.
Declaration Syntax
C#Visual BasicVisual C++
public static IntPtr cvLoad(
	string fileName,
	IntPtr memstorage,
	string name,
	IntPtr realName
)
Public Shared Function cvLoad ( _
	fileName As String, _
	memstorage As IntPtr, _
	name As String, _
	realName As IntPtr _
) As IntPtr
public:
static IntPtr cvLoad(
	String^ fileName, 
	IntPtr memstorage, 
	String^ name, 
	IntPtr realName
)
Parameters
fileName (String)
File name
memstorage (IntPtr)
Memory storage for dynamic structures, such as CvSeq or CvGraph. It is not used for matrices or images
name (String)
Optional object name. If it is NULL, the first top-level object in the storage will be loaded
realName (IntPtr)
Optional output parameter that will contain name of the loaded object (useful if name=NULL).
Return Value
Loaded object from file

Assembly: Emgu.CV (Module: Emgu.CV) Version: 1.3.0.0 (1.3.0.0)