Method GetAttribute
GetAttribute(XmlElement, String, String)
Declaration
public static string GetAttribute(XmlElement element, string attributeName, string deflt)
Parameters
Type |
Name |
Description |
System.Xml.XmlElement |
element |
|
System.String |
attributeName |
|
System.String |
deflt |
|
Returns
Type |
Description |
System.String |
|
GetAttribute(XmlElement, String, Single)
Declaration
public static float GetAttribute(XmlElement element, string attributeName, float deflt)
Parameters
Type |
Name |
Description |
System.Xml.XmlElement |
element |
|
System.String |
attributeName |
|
System.Single |
deflt |
|
Returns
Type |
Description |
System.Single |
|
GetAttribute(XmlElement, String, Int32)
Declaration
public static int GetAttribute(XmlElement element, string attributeName, int deflt)
Parameters
Type |
Name |
Description |
System.Xml.XmlElement |
element |
|
System.String |
attributeName |
|
System.Int32 |
deflt |
|
Returns
Type |
Description |
System.Int32 |
|
GetAttribute(XmlElement, String, Boolean)
Declaration
public static bool GetAttribute(XmlElement element, string attributeName, bool deflt)
Parameters
Type |
Name |
Description |
System.Xml.XmlElement |
element |
|
System.String |
attributeName |
|
System.Boolean |
deflt |
|
Returns
Type |
Description |
System.Boolean |
|