Click or drag to resize
DigitalRuneLayoutSerializerLoad Method (XContainer)
Loads the objects specified in the given XML container.

Namespace: DigitalRune.Game.UI
Assembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax
public IEnumerable Load(
	XContainer container
)

Parameters

container
Type: System.Xml.LinqXContainer
The container, usually a XDocument.

Return Value

Type: IEnumerable
The instances created from the XML definition.
Exceptions
ExceptionCondition
ArgumentNullExceptioncontainer is .
SerializationException Error while loading the objects. See exception message.
See Also