AlgorithmExtensionsSaveToString Method |
http://www.emgu.com
Save the algorithm to a string
Namespace:
Emgu.CV
Assembly:
Emgu.CV.Platform.NetStandard (in Emgu.CV.Platform.NetStandard.dll) Version: 4.3.0.3890
Syntaxpublic static string SaveToString(
this IAlgorithm algorithm,
string format = ".xml"
)
<ExtensionAttribute>
Public Shared Function SaveToString (
algorithm As IAlgorithm,
Optional format As String = ".xml"
) As String
public:
[ExtensionAttribute]
static String^ SaveToString(
IAlgorithm^ algorithm,
String^ format = L".xml"
)
[<ExtensionAttribute>]
static member SaveToString :
algorithm : IAlgorithm *
?format : string
(* Defaults:
let _format = defaultArg format ".xml"
*)
-> string
Parameters
- algorithm
- Type: Emgu.CVIAlgorithm
The algorithm - format (Optional)
- Type: SystemString
file format, can be .xml or .yml
Return Value
Type:
StringThe algorithm as an yml string
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IAlgorithm. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also