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