ExtensionMethods.GetDoubleAttribute(XmlReader, String, Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get a named attribute from the current node in the given XmlReader as a double
public static double GetDoubleAttribute (this System.Xml.XmlReader reader, string attributeName, double defaultValue = 0);
static member GetDoubleAttribute : System.Xml.XmlReader * string * double -> double
<Extension()>
Public Function GetDoubleAttribute (reader As XmlReader, attributeName As String, Optional defaultValue As Double = 0) As Double
Parameters
- reader
- XmlReader
- attributeName
- String
- defaultValue
- Double