Load a XmlElement object from a file.

Namespace:  Bespoke.Common
Assembly:  Bespoke.Common (in Bespoke.Common.dll) Version: 4.3.0.0 (4.3.0.0)

Syntax

C#
public static T Load<T>(
	string fileName
)
where T : XmlElementBase
Visual Basic (Declaration)
Public Shared Function Load(Of T As XmlElementBase) ( _
	fileName As String _
) As T
Visual C++
public:
generic<typename T>
where T : XmlElementBase
static T Load(
	String^ fileName
)

Parameters

fileName
Type: System..::.String
The name of the file storing the SceneElement.

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Bespoke.Common.XmlElementBase.Load``1(System.String)"]

Return Value

The newly deserialzied XmlElement object.

See Also