ExtensionMethodsGetXmlSourceInfoForCurrentElement Method |
Gets the XML source information for current element of the reader specified. Only lineno/position are filled in.
Namespace:
SD.LLBLGen.Pro.Core.Xml
Assembly:
SD.LLBLGen.Pro.Core (in SD.LLBLGen.Pro.Core.dll) Version: 5.10.0.0 (5.10.0)
Syntax public static XmlSourceInfo GetXmlSourceInfoForCurrentElement(
this XmlReader reader
)
<ExtensionAttribute>
Public Shared Function GetXmlSourceInfoForCurrentElement (
reader As XmlReader
) As XmlSourceInfo
Parameters
- reader
- Type: System.XmlXmlReader
The reader.
Return Value
Type:
XmlSourceInfoUsage 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