CADability dotNET
Reads the requested object. Returns null if the object cannot be read. Calls info.GetValue(key,type).

Namespace: CADability
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public static Object Read(
	SerializationInfo info,
	string key,
	Type type
)
Visual Basic
Public Shared Function Read ( _
	info As SerializationInfo, _
	key As String, _
	type As Type _
) As Object
Visual C++
public:
static Object^ Read(
	SerializationInfo^ info, 
	String^ key, 
	Type^ type
)

Parameters

info
Type: System.Runtime.Serialization..::..SerializationInfo
the SerializationInfo object
key
Type: System..::..String
the name of the object
type
Type: System..::..Type
the type of the requested object

Return Value

the object or null

See Also