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.5.0.0 (5.5.18.1019)
Syntax public static Object ReadElementAsObject(
this XmlReader reader
)
<ExtensionAttribute>
Public Shared Function ReadElementAsObject (
reader As XmlReader
) As Object
Parameters
- reader
- Type: System.XmlXmlReader
The reader.
Return Value
Type:
ObjectUsage 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