XmlTools GetFromXml T  Method (String)A Sandcastle Documented Class Library
Opens and reads the content of an XML file and store it in an object of the given type.

Namespace: Censitif.Library.Data
Assembly: Censitif.Library (in Censitif.Library.dll) Version: 1.0.4878.23877
Syntax

public static T GetFromXml<T>(
	string file
)

Parameters

file
Type: System String
The XML file.
Type Parameters

T
The type of data to be read from the XML and returned.

Return Value

Type: T
The object containing the data of the XML file.
See Also