C1.LiveLinq.LiveViews.Xml Namespace > XmlExtensions Class > IndexedAttribute Method : IndexedAttribute(XElement,XName,IndexingHintAction) Method |
'Declaration Public Overloads Shared Function IndexedAttribute( _ ByVal element As System.Xml.Linq.XElement, _ ByVal name As System.Xml.Linq.XName, _ ByVal action As IndexingHintAction _ ) As XHint
public static XHint IndexedAttribute( System.Xml.Linq.XElement element, System.Xml.Linq.XName name, IndexingHintAction action )
var query = from c in customers where (string)c.IndexedAttribute("CustomerID", IndexingHintAction.Mandatory) == "ALFKI" select c;
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2