Click or drag to resize
GameFilesReadFromXmlFileT Method
Reads an object instance from an XML file.

Object type must have a parameterless constructor.

Namespace:  GeonBit.Managers
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public T ReadFromXmlFile<T>(
	string filePath
)

Parameters

filePath
Type: SystemString
The file path to read the object instance from.

Type Parameters

T
The type of object to read from the file.

Return Value

Type: T
Returns a new instance of the object read from the XML file.
See Also