Share via


ExtensionMethods.GetDoubleAttribute(XmlReader, String, Double) Method

Definition

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

Returns

Applies to