CvStartWriteStruct Method (CvFileStorage, String, NodeType, String) OpenCvSharp Class Library
Starts writing a new structure

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static void StartWriteStruct(
	CvFileStorage fs,
	string name,
	NodeType structFlags,
	string typeName
)

Parameters

fs
Type: OpenCvSharpCvFileStorage
File storage.
name
Type: SystemString
Name of the written structure. The structure can be accessed by this name when the storage is read.
structFlags
Type: OpenCvSharpNodeType
A combination one of the NodeType flags
typeName
Type: SystemString
Optional parameter - the object type name. In case of XML it is written as type_id attribute of the structure opening tag. In case of YAML it is written after a colon following the structure name. Mainly it comes with user objects. When the storage is read, the encoded type name is used to determine the object type.
See Also

Reference