Click or drag to resize

XmlExtensionMethodsReadElementAsObject Method

Reads the element the reader is currently positioned on as object. Expects format as written by WriteValueAsElement

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntax
public static Object ReadElementAsObject(
	this XmlReader reader
)

Parameters

reader
Type: System.XmlXmlReader
The reader.

Return Value

Type: Object

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type XmlReader. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also