http://www.emgu.com
Opens file storage for reading or writing data. In the latter case a new file is created or existing file is rewritten. Type of the read of written file is determined by the filename extension: .xml for XML, and .yml or .yaml for YAML

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public static IntPtr cvOpenFileStorage(
	string filename,
	IntPtr memstorage,
	STORAGE_OP flags
)
Visual Basic
Public Shared Function cvOpenFileStorage ( 
	filename As String,
	memstorage As IntPtr,
	flags As STORAGE_OP
) As IntPtr
Visual C++
public:
static IntPtr cvOpenFileStorage(
	String^ filename, 
	IntPtr memstorage, 
	STORAGE_OP flags
)
F#
static member cvOpenFileStorage : 
        filename : string * 
        memstorage : IntPtr * 
        flags : STORAGE_OP -> IntPtr 

Parameters

filename
Type: System..::..String
Name of the file associated with the storage
memstorage
Type: System..::..IntPtr
Memory storage used for temporary data and for storing dynamic structures, such as CvSeq or CvGraph. If it is NULL, a temporary memory storage is created and used
flags
Type: Emgu.CV.CvEnum..::..STORAGE_OP

[Missing <param name="flags"/> documentation for "M:Emgu.CV.CvInvoke.cvOpenFileStorage(System.String,System.IntPtr,Emgu.CV.CvEnum.STORAGE_OP)"]

Return Value

Type: IntPtr
Pointer to CvFileStorage structure

See Also