Parameters
- element
- The element containing the attribute.
- name
- The name of the attribute to get.
Return Value
The attribute that has the specified name.
var query = from c in customers where (string)c.IndexedAttribute("CustomerID") == "ALFKI" select c;