AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

ObjectXMLSerializer<(Of <(<'T>)>)>..::..Load Method (String)

Loads an object from an XML file in Document format.

Namespace:  AdvantageCMS.Core.Utils
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public static T Load(
	string path
)

Parameters

path
Type: String
Path of the file to load the object from.

Return Value

Object loaded from an XML file in Document format.

Examples


C#
serializableObject = ObjectXMLSerializer<SerializableObject>.Load(@"C:\XMLObjects.xml");