ErlObject ToErlObject Method (Object, ErlTypeOrder, Boolean)NFX Class Library

[This is preliminary documentation and is subject to change.]

Try to convert .NET native object type to corresponding Erlang term of given type. Throw exception if conversion is not possible

Namespace: NFX.Erlang
Assembly: NFX.Erlang (in NFX.Erlang.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public static IErlObject ToErlObject(
	this Object o,
	ErlTypeOrder etp,
	bool strict = true
)

Return Value

Type: IErlObject

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type OnlineObject. When you use instance method syntax to call this method, omit the first parameter. For more information, see OnlineExtension Methods (Visual Basic) or OnlineExtension Methods (C# Programming Guide).
See Also