App.GetAttribute Method
App.GetAttribute Method Overloads
Name Description
App.GetAttribute (XmlReader, string)

Reads the string value of an attribute of the current element of an XmlReader that's reading the CodeDoc XML project file. Throws a ProjectFileException if the specified attribute doesn't exist.

App.GetAttribute (XmlReader, string, string)

Reads the string value of an attribute of the current element of an XmlReader that's reading the CodeDoc XML project file. Returns a specified default value if the specified attribute doesn't exist.

App.GetAttribute<T> (XmlReader, string)

Reads the value of an attribute of the current element of an XmlReader that's reading the CodeDoc XML project file. The value is converted to a specified type. An exception is thrown if the specified attribute doesn't exist.

App.GetAttribute<T> (XmlReader, string, T)

Reads the value of an attribute of the current element of an XmlReader that's reading the CodeDoc XML project file. The value is converted to a specified type. A default value is used if the specified attribute doesn't exist.